From: Amos Jeffries Date: Sat, 19 Nov 2011 00:39:25 +0000 (-0700) Subject: Cleanup: IsConnOpen checks for NULL X-Git-Tag: BumpSslServerFirst.take01~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aef14947a0b1c3eef6d89cb8e5fcd8537f48eec4;p=thirdparty%2Fsquid.git Cleanup: IsConnOpen checks for NULL --- diff --git a/src/forward.cc b/src/forward.cc index f2bb3e22f4..cdceafab70 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -863,7 +863,7 @@ FwdState::connectStart() Comm::ConnectionPointer temp = fwdPconnPool->pop(serverDestinations[0], host, checkRetriable()); // if we found an open persistent connection to use. use it. - if (temp != NULL && Comm::IsConnOpen(temp)) { + if (Comm::IsConnOpen(temp)) { serverConn = temp; debugs(17, 3, HERE << "reusing pconn " << serverConnection()); n_tries++;