]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
entry/old_entry switching bug
authorwessels <>
Fri, 23 May 1997 23:21:17 +0000 (23:21 +0000)
committerwessels <>
Fri, 23 May 1997 23:21:17 +0000 (23:21 +0000)
src/client_side.cc

index e63044eb947644c93dc1f0bf2c5a79e182ef51bb..04dd36eabcf08fa155a043b1bd03ffbd936672f0 100644 (file)
@@ -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);