From: hno <> Date: Mon, 22 Apr 2002 03:54:03 +0000 (+0000) Subject: Don't mess with store client internals.. not unless debugging is X-Git-Tag: SQUID_3_0_PRE1~1039 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1689e0a97f8abccb0a4389e238e3b943edf48659;p=thirdparty%2Fsquid.git Don't mess with store client internals.. not unless debugging is enabled anyway. --- diff --git a/src/client_side.cc b/src/client_side.cc index 34bf8874e9..81846a365e 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.577 2002/04/21 21:23:15 hno Exp $ + * $Id: client_side.cc,v 1.578 2002/04/21 21:54:03 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -388,12 +388,14 @@ clientProcessExpired(void *data) http->old_reqsize = http->reqsize; http->old_reqofs = http->reqofs; http->reqbuf = http->ims_reqbuf; +#if STORE_CLIENT_LIST_DEBUG /* * Assert that 'http' is already a client of old_entry. If * it is not, then the beginning of the object data might get * freed from memory before we need to access it. */ - assert(http->sc->callback_data == http); + assert(http->sc->owner == http); +#endif entry = storeCreateEntry(url, http->log_uri, http->request->flags,