[dovecot-cvs] dovecot/src/login-common main.c,1.33.2.1,1.33.2.2

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


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

Modified Files:
      Tag: branch_1_0
	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.33.2.1
retrieving revision 1.33.2.2
diff -u -d -r1.33.2.1 -r1.33.2.2
--- main.c	6 Aug 2006 20:05:24 -0000	1.33.2.1
+++ main.c	6 Aug 2006 20:35:06 -0000	1.33.2.2
@@ -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