From: wessels <> Date: Fri, 23 May 1997 23:21:17 +0000 (+0000) Subject: entry/old_entry switching bug X-Git-Tag: SQUID_3_0_PRE1~4975 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=135a1eca5e732f880bccc0a89e89d79b82617c87;p=thirdparty%2Fsquid.git entry/old_entry switching bug --- diff --git a/src/client_side.cc b/src/client_side.cc index e63044eb94..04dd36eabc 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.106 1997/05/22 22:53:59 wessels Exp $ + * $Id: client_side.cc,v 1.107 1997/05/23 17:21:17 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -408,8 +408,8 @@ icpHandleIMSReply(void *data, char *buf, size_t size) http->log_type = LOG_TCP_REFRESH_FAIL_HIT; storeUnregister(entry, http); storeUnlockObject(entry); - http->entry = http->old_entry; - http->entry->refcount++; + entry = http->entry = http->old_entry; + entry->refcount++; } else if (mem->reply->code == 0) { debug(33, 3, "icpHandleIMSReply: Incomplete headers for '%s'\n", entry->url);