You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2016/12/31 13:11:28 UTC

svn commit: r1776734 - /httpd/httpd/trunk/modules/metadata/mod_remoteip.c

Author: icing
Date: Sat Dec 31 13:11:28 2016
New Revision: 1776734

URL: http://svn.apache.org/viewvc?rev=1776734&view=rev
Log:
On the trunk:

* mod_remoteip: added cast to fix clang compiler error


Modified:
    httpd/httpd/trunk/modules/metadata/mod_remoteip.c

Modified: httpd/httpd/trunk/modules/metadata/mod_remoteip.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/metadata/mod_remoteip.c?rev=1776734&r1=1776733&r2=1776734&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/metadata/mod_remoteip.c (original)
+++ httpd/httpd/trunk/modules/metadata/mod_remoteip.c Sat Dec 31 13:11:28 2016
@@ -969,7 +969,7 @@ static remoteip_parse_status_t remoteip_
             /* not a supported command */
             ap_log_cerror(APLOG_MARK, APLOG_ERR, 0, c, APLOGNO(03507)
                           "RemoteIPProxyProtocol: unsupported command %.2hx",
-                          hdr->v2.ver_cmd);
+                          (unsigned short)hdr->v2.ver_cmd);
             return HDR_ERROR;
     }