From 7dab39df7f330938bd1019ff5f4a76dd46ab284b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 24 May 2012 14:57:49 +0000 Subject: [PATCH] Accept a default-server-timeout of 0. It's the default after all. --- loadcfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2