]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix build on FreeBSD after rev.14180
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 1 Jul 2017 23:22:53 +0000 (11:22 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 1 Jul 2017 23:22:53 +0000 (11:22 +1200)
RefCount<> does not support assignment from nullptr with C++03

src/http.cc

index 161d58541cc2c90dc2993eabcf397cab94aa9bc7..c4b60e2317c4fd947a4d964a2504c379eadb9796 100644 (file)
@@ -1449,7 +1449,7 @@ HttpStateData::processReplyBody()
 
             Comm::ConnectionPointer serverConnectionSaved = serverConnection;
             fwd->unregister(serverConnection);
-            serverConnection = nullptr;
+            serverConnection = NULL;
 
             bool ispinned = false; // TODO: Rename to isOrShouldBePinned
             if (request->flags.pinned) {