From: Amos Jeffries Date: Tue, 19 Apr 2011 00:33:25 +0000 (+1200) Subject: Fix: AnyP:: does not exist in 3.1 X-Git-Tag: SQUID_3_1_12_1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f153de48aecbd0a302c0e42ef0554602ad19192;p=thirdparty%2Fsquid.git Fix: AnyP:: does not exist in 3.1 --- diff --git a/src/url.cc b/src/url.cc index 8300578a88..54252af9d8 100644 --- a/src/url.cc +++ b/src/url.cc @@ -326,7 +326,7 @@ urlParse(const HttpRequestMethod& method, char *url, HttpRequest *request) } // Bug 3183 sanity check: If scheme is present, host must be too. - if (protocol != AnyP::PROTO_NONE && (host == NULL || *host == '\0')) { + if (protocol != PROTO_NONE && (host == NULL || *host == '\0')) { debugs(23, DBG_IMPORTANT, "SECURITY WARNING: Missing hostname in URL '" << url << "'. see access.log for details."); return NULL; }