Accept a socket-timeout value of 0 seconds.
authorFabian Keil <fk@fabiankeil.de>
Thu, 24 May 2012 14:58:16 +0000 (14:58 +0000)
committerFabian Keil <fk@fabiankeil.de>
Thu, 24 May 2012 14:58:16 +0000 (14:58 +0000)
Impatience isn't necessarily a syntax problem.

loadcfg.c

index 42751a5..e8526a4 100644 (file)
--- a/loadcfg.c
+++ b/loadcfg.c
@@ -1,4 +1,4 @@
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.126 2012/03/18 15:48:59 fabiankeil Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.127 2012/05/24 14:57:49 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
@@ -1220,7 +1220,7 @@ struct configuration_spec * load_config(void)
             if (*arg != '\0')
             {
                int socket_timeout = atoi(arg);
-               if (0 < socket_timeout)
+               if (0 <= socket_timeout)
                {
                   config->socket_timeout = socket_timeout;
                }