From: Fabian Keil Date: Thu, 24 May 2012 14:58:16 +0000 (+0000) Subject: Accept a socket-timeout value of 0 seconds. X-Git-Tag: v_3_0_20~346 X-Git-Url: http://www.privoxy.org/gitweb/%244?a=commitdiff_plain;h=f5d081142cd4abf15e0c7140f90baa6d07b31eb1;p=privoxy.git Accept a socket-timeout value of 0 seconds. Impatience isn't necessarily a syntax problem. --- 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; }