From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 24 May 2012 14:57:49 +0000 (+0000)
Subject: Accept a default-server-timeout of 0. It's the default after all.
X-Git-Tag: v_3_0_20~347
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@edit-actions-remove-url-form?a=commitdiff_plain;h=7dab39df7f330938bd1019ff5f4a76dd46ab284b;p=privoxy.git

Accept a default-server-timeout of 0. It's the default after all.
---

diff --git a/loadcfg.c b/loadcfg.c
index babfc5e2..42751a5f 100644
--- 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;
                }