From 5aab5fcd2f62a2bab6272832c4d631fe76ae6aa0 Mon Sep 17 00:00:00 2001 From: Guido Serassio Date: Mon, 8 Dec 2008 14:30:47 +0100 Subject: [PATCH] Fix SQUID_3_0 specific build error introduced with last commit --- src/client_side.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/client_side.cc 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? */ -- 2.47.2