From: Yann Ylavic Date: Thu, 28 Jul 2016 11:24:57 +0000 (+0000) Subject: mod_reqtimeout: follow up to r1754391: fix missing "else". X-Git-Tag: 2.5.0-alpha~1368 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5b714b1cee0a96140d6e3589aa5a8b08fbca104;p=apache mod_reqtimeout: follow up to r1754391: fix missing "else". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1754399 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_reqtimeout.c b/modules/filters/mod_reqtimeout.c index 176b824e36..538e9b1bde 100644 --- a/modules/filters/mod_reqtimeout.c +++ b/modules/filters/mod_reqtimeout.c @@ -432,7 +432,7 @@ static int reqtimeout_before_body(request_rec *r) /* disabled for a CONNECT request */ ccfg->new_timeout = 0; } - if (cfg->body_timeout != UNSET) { + else if (cfg->body_timeout != UNSET) { ccfg->new_timeout = cfg->body_timeout; ccfg->new_max_timeout = cfg->body_max_timeout; ccfg->min_rate = cfg->body_min_rate;