From: Amos Jeffries Date: Sat, 1 Jul 2017 23:22:53 +0000 (+1200) Subject: Fix build on FreeBSD after rev.14180 X-Git-Tag: SQUID_3_5_28~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d74eaff3a48cd7ffc7e0764a9cd3825ea102b456;p=thirdparty%2Fsquid.git Fix build on FreeBSD after rev.14180 RefCount<> does not support assignment from nullptr with C++03 --- diff --git a/src/http.cc b/src/http.cc index 161d58541c..c4b60e2317 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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) {