From: Joe Orton Date: Wed, 21 Jan 2026 11:09:55 +0000 (+0000) Subject: * server/log.c (log_ctime): Fix syntax error in r1931452 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c68a031691950bf5eeb7394656ec448c8f6e5a47;p=thirdparty%2Fapache%2Fhttpd.git * server/log.c (log_ctime): Fix syntax error in r1931452 (added by me when tweaking whitespace, not from the PR author). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1931453 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/log.c b/server/log.c index d5236f45f8..67dc9aad8a 100644 --- a/server/log.c +++ b/server/log.c @@ -585,7 +585,7 @@ static int log_ctime(const ap_errorlog_info *info, const char *arg, if (arg[0] == 'u' && !arg[1]) { /* no ErrorLogFormat (fast path) */ option |= AP_CTIME_OPTION_USEC; } - else if (arg[0] == 'm' && !arg[1]) /* no ErrorLogFormat (fast path) - msec */ + else if (arg[0] == 'm' && !arg[1]) { /* no ErrorLogFormat (fast path) - msec */ option |= AP_CTIME_OPTION_MSEC; } else if (!ap_strchr_c(arg, '%')) { /* special "%{mcuz}t" formats */