mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
mod_h2 compiles warning free in maintainer-mode
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1696592 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -58,7 +58,7 @@ apr_status_t h2_request_rwrite(h2_request *req, request_rec *r, h2_mplx *m)
|
||||
req->method = r->method;
|
||||
req->authority = r->hostname;
|
||||
req->path = r->uri;
|
||||
if (!strchr(req->authority, ':') && r->parsed_uri.port_str) {
|
||||
if (!strchr((char *)req->authority, ':') && r->parsed_uri.port_str) {
|
||||
req->authority = apr_psprintf(req->pool, "%s:%s", req->authority,
|
||||
r->parsed_uri.port_str);
|
||||
}
|
||||
|
Reference in New Issue
Block a user