[dovecot-cvs] dovecot/src/login-common main.c,1.34,1.35

cras at dovecot.org cras at dovecot.org
Sun Aug 6 23:35:11 EEST 2006


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv31332

Modified Files:
	main.c 
Log Message:
Changed max_connections default value to be 1, not that it should matter.



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/main.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- main.c	6 Aug 2006 20:05:35 -0000	1.34
+++ main.c	6 Aug 2006 20:35:07 -0000	1.35
@@ -240,7 +240,7 @@
         verbose_auth = getenv("VERBOSE_AUTH") != NULL;
 
 	value = getenv("MAX_CONNECTIONS");
-	max_connections = value == NULL ? 0 : strtoul(value, NULL, 10);
+	max_connections = value == NULL ? 1 : strtoul(value, NULL, 10);
 
 	greeting = getenv("GREETING");
 	if (greeting == NULL)



More information about the dovecot-cvs mailing list