From f3a8efb9d060c012bd6199bfb154c0f6a85256a2 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 21 Jun 2017 12:34:25 +0000 Subject: [PATCH] Not an error... last one is honored git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799431 13f79535-47bb-0310-9956-ffa450edef68 --- modules/core/mod_watchdog.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/core/mod_watchdog.c b/modules/core/mod_watchdog.c index 9f10c0d7181..c4f98570008 100644 --- a/modules/core/mod_watchdog.c +++ b/modules/core/mod_watchdog.c @@ -66,7 +66,6 @@ struct wd_server_conf_t static wd_server_conf_t *wd_server_conf = NULL; static apr_interval_time_t wd_interval = AP_WD_TM_INTERVAL; -static int wd_interval_set = 0; static int mpm_is_forked = AP_MPMQ_NOT_SUPPORTED; static const char *wd_proc_mutex_type = "watchdog-callback"; @@ -602,13 +601,10 @@ static const char *wd_cmd_watchdog_int(cmd_parms *cmd, void *dummy, if (errs != NULL) return errs; - if (wd_interval_set) - return "Duplicate WatchdogInterval directives are not allowed"; if ((i = atoi(arg)) < 1) return "Invalid WatchdogInterval value"; wd_interval = apr_time_from_sec(i); - wd_interval_set = 1; return NULL; } -- 2.47.3