]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Build error
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 9 Feb 2009 10:52:15 +0000 (23:52 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 9 Feb 2009 10:52:15 +0000 (23:52 +1300)
src/http.cc

index 84ebc47b3e09cc1f55eed42ef3be2ac5827fb0f6..92e56359297025468495db6289bec2fcc33b7971 100644 (file)
@@ -1808,7 +1808,7 @@ copyOneHeaderFromClientsideRequestToUpstreamRequest(const HttpHeaderEntry *e, co
          * pass on all other header fields
          * which are NOT listed by the special Connection: header. */
 
-        if (strConnection.size()>0 && strListIsMember(&strConnection, e->name.buf(), ',')) {
+        if (strConnection.size()>0 && strListIsMember(&strConnection, e->name.unsafeBuf(), ',')) {
             debugs(11, 2, "'" << e->name << "' header cropped by Connection: definition");
             return;
         }