]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
add assertion
authorwessels <>
Fri, 23 May 1997 22:56:30 +0000 (22:56 +0000)
committerwessels <>
Fri, 23 May 1997 22:56:30 +0000 (22:56 +0000)
src/store.cc

index 6ecafa563978b95e6de084d2ec09c4780ec72f8d..81ba64f6590e702d2698107fd9f44c3ac4bdcbc6 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.242 1997/05/23 05:30:36 wessels Exp $
+ * $Id: store.cc,v 1.243 1997/05/23 16:56:30 wessels Exp $
  *
  * DEBUG: section 20    Storeage Manager
  * AUTHOR: Harvest Derived
@@ -2166,6 +2166,7 @@ storeClientListAdd(StoreEntry * e, void *data)
     MemObject *mem = e->mem_obj;
     struct _store_client *oldlist = NULL;
     int oldsize;
+    assert(mem != NULL);
     /* look for empty slot */
     if (mem->clients == NULL) {
        mem->nclients = MIN_CLIENT;