changeset 4540:3d2526a5f384 HEAD

Changed max_connections default value to be 1, not that it should matter.
author Timo Sirainen <tss@iki.fi>
date Sun, 06 Aug 2006 23:35:07 +0300
parents 93e62d5d12e4
children 61990aea02bc
files src/login-common/main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/login-common/main.c	Sun Aug 06 23:08:54 2006 +0300
+++ b/src/login-common/main.c	Sun Aug 06 23:35:07 2006 +0300
@@ -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)