mod_remoteip.c:404:38: warning: data argument not used by format string [-Wformat-extra-args]
It's a hack, but maintain the orig hack ;)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1407459 13f79535-47bb-0310-9956-
ffa450edef68
ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
req->proxy_ips
? "Using %s as client's IP by proxies %s"
- : "Using %s as client's IP by internal proxies",
- req->useragent_ip, req->proxy_ips);
+ : "Using %s as client's IP by internal proxies%s",
+ req->useragent_ip,
+ (req->proxy_ips ? req->proxy_ips : ""));
return OK;
}