~ubuntu-branches/ubuntu/precise/pgbouncer/precise-security

« back to all changes in this revision

Viewing changes to src/pooler.c

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2010-05-16 03:15:41 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100516031541-muty00mdbe9srl66
Tags: 1.3.3-1
* New upstream version. 
* Bumping Standards-Version to 3.8.4, no changes needed. 
* Removing dpatch - no patches needed anymore since several releases. 
* Use source format 1.0 for easy backporting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
        tune_socket(sock, true);
99
99
 
100
100
        /* finally, accept connections */
101
 
        res = listen(sock, 100);
 
101
        res = listen(sock, cf_listen_backlog);
102
102
        if (res < 0)
103
103
                fatal_perror("listen");
104
104
 
194
194
        tune_socket(sock, false);
195
195
 
196
196
        /* make it accept connections */
197
 
        res = listen(sock, 100);
 
197
        res = listen(sock, cf_listen_backlog);
198
198
        if (res < 0)
199
199
                fatal_perror("listen");
200
200