From: Eric Covener Date: Fri, 24 Mar 2017 14:09:52 +0000 (+0000) Subject: no strncasecmp because flag has no value X-Git-Tag: 2.5.0-alpha~536 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5811344b04b88b720460d3a72397bf18e50f21a9;p=thirdparty%2Fapache%2Fhttpd.git no strncasecmp because flag has no value git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1788451 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 6a32de803d2..c887056312d 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -495,7 +495,7 @@ static const char *add_opts(cmd_parms *cmd, void *d, int argc, char *const argv[ else if (!strncasecmp(w, "Charset=", 8)) { d_cfg->charset = apr_pstrdup(cmd->pool, &w[8]); } - else if (!strncasecmp(w, "UseOldDateFormat", 16)) { + else if (!strcasecmp(w, "UseOldDateFormat")) { d_cfg->datetime_format = "%d-%b-%Y %H:%M"; } else {