From: William A. Rowe Jr Date: Thu, 18 Oct 2001 13:12:32 +0000 (+0000) Subject: As GStein points out... comment here would be helpful X-Git-Tag: 2.0.27~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4608aab1d6e25d0f95d2dc78aff9ab05beb41881;p=apache As GStein points out... comment here would be helpful git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91544 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index 618deea1b3..1f4d417b24 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -136,6 +136,8 @@ static int proxy_detect(request_rec *r) conf = (proxy_server_conf *) ap_get_module_config(sconf, &proxy_module); + /* Ick... msvc (perhaps others) promotes ternary short results to int */ + if (conf->req && r->parsed_uri.scheme) { /* but it might be something vhosted */ if (!(r->parsed_uri.hostname