]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make squiclient compile again
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Tue, 3 Feb 2009 19:50:12 +0000 (20:50 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Tue, 3 Feb 2009 19:50:12 +0000 (20:50 +0100)
tools/squidclient.cc

index b960a5bc0a790f7941745bf6710d12654d726ee3..24532caf95470a38a0b96b15b63dd37fd158e3d1 100644 (file)
@@ -375,7 +375,7 @@ main(int argc, char *argv[])
     }
 
     if (host) {
-        snprintf(buf, BUFSIZ, "Host: %s\r\n", method, url, version, host);
+        snprintf(buf, BUFSIZ, "Host: %s\r\n", host);
         strcat(msg,buf);
     }