]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix SQUID_3_0 specific build error introduced with last commit
authorGuido Serassio <serassio@squid-cache.org>
Mon, 8 Dec 2008 13:30:47 +0000 (14:30 +0100)
committerGuido Serassio <serassio@squid-cache.org>
Mon, 8 Dec 2008 13:30:47 +0000 (14:30 +0100)
src/client_side.cc [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 0d6cb0c..4fb8a98
@@ -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? */