From f5d081142cd4abf15e0c7140f90baa6d07b31eb1 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 24 May 2012 14:58:16 +0000 Subject: [PATCH] Accept a socket-timeout value of 0 seconds. Impatience isn't necessarily a syntax problem. --- loadcfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loadcfg.c b/loadcfg.c index 42751a5f..e8526a43 100644 --- 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; } -- 2.39.2