]> code.citadel.org Git - citadel.git/commitdiff
* listen() queue length is now set to config.c_maxsessions
authorArt Cancro <ajc@citadel.org>
Wed, 8 Dec 1999 18:20:47 +0000 (18:20 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 8 Dec 1999 18:20:47 +0000 (18:20 +0000)
citadel/sysdep.c

index e3421191171896538adbefb338bf0dc55d8d71d8..ec8a69bccc9bbfe8bb545ce091fcf5a3b5d945d3 100644 (file)
@@ -766,7 +766,7 @@ int main(int argc, char **argv)
         * exits if it doesn't succeed.
         */
        lprintf(7, "Attempting to bind to port %d...\n", config.c_port_number);
-       msock = ig_tcp_server(config.c_port_number, 5);
+       msock = ig_tcp_server(config.c_port_number, config.c_maxsessions);
        lprintf(7, "Listening on socket %d\n", msock);
 
        /*