From: Guido Serassio Date: Mon, 8 Dec 2008 13:30:47 +0000 (+0100) Subject: Fix SQUID_3_0 specific build error introduced with last commit X-Git-Tag: SQUID_3_0_STABLE11~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aab5fcd2f62a2bab6272832c4d631fe76ae6aa0;p=thirdparty%2Fsquid.git Fix SQUID_3_0 specific build error introduced with last commit --- diff --git a/src/client_side.cc b/src/client_side.cc old mode 100644 new mode 100755 index 0d6cb0cf4d..4fb8a98097 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1900,7 +1900,7 @@ parseHttpRequest(ConnStateData::Pointer & conn, HttpParser *hp, method_t * metho garbage[i] = ((hp->buf[i] < ' ' || hp->buf[i] > '~' )? '_': hp->buf[i]); /* XXX need a way to say "this many character length string" */ - debugs(33, 1, "clientParseRequestMethod: Unsupported method attempted by " << inet_ntoa(conn->peer) << ": This is not a bug. see squid.conf extension_methods"); + debugs(33, 1, "clientParseRequestMethod: Unsupported method attempted by " << inet_ntoa(conn->peer.sin_addr) << ": This is not a bug. see squid.conf extension_methods"); debugs(33, 1, "clientParseRequestMethod: Unsupported method in request '" << garbage << "'"); /* XXX where's the method set for this error? */