]> granicus.if.org Git - apache/commitdiff
Not an error... last one is honored
authorJim Jagielski <jim@apache.org>
Wed, 21 Jun 2017 12:34:25 +0000 (12:34 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 21 Jun 2017 12:34:25 +0000 (12:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799431 13f79535-47bb-0310-9956-ffa450edef68

modules/core/mod_watchdog.c

index 9f10c0d7181487f4c4355f135093ab6101f65cb9..c4f9857000880b65f700365ea0ed4a2c9b596f1f 100644 (file)
@@ -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;
 }