Accept a default-server-timeout of 0. It's the default after all.
authorFabian Keil <fk@fabiankeil.de>
Thu, 24 May 2012 14:57:49 +0000 (14:57 +0000)
committerFabian Keil <fk@fabiankeil.de>
Thu, 24 May 2012 14:57:49 +0000 (14:57 +0000)
loadcfg.c

index babfc5e..42751a5 100644 (file)
--- a/loadcfg.c
+++ b/loadcfg.c
@@ -1,4 +1,4 @@
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.125 2012/03/09 16:23:50 fabiankeil Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.126 2012/03/18 15:48:59 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
@@ -605,7 +605,7 @@ struct configuration_spec * load_config(void)
             if (*arg != '\0')
             {
                int timeout = atoi(arg);
-               if (0 < timeout)
+               if (0 <= timeout)
                {
                   config->default_server_timeout = (unsigned int)timeout;
                }