]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
initialize mem_obj->fd = -1
authorwessels <>
Sat, 9 May 1998 05:54:02 +0000 (05:54 +0000)
committerwessels <>
Sat, 9 May 1998 05:54:02 +0000 (05:54 +0000)
src/store.cc

index f5e56d156485899a66d7ead6d0e4cdbc8dc95c67..ee5caa178a14560dae5194dd1c7f142b91ab3cac 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store.cc,v 1.410 1998/04/24 07:09:46 wessels Exp $
+ * $Id: store.cc,v 1.411 1998/05/08 23:54:02 wessels Exp $
  *
  * DEBUG: section 20    Storage Manager
  * AUTHOR: Harvest Derived
@@ -180,6 +180,7 @@ new_MemObject(const char *url, const char *log_url)
     mem->log_url = xstrdup(log_url);
     mem->swapout.fd = -1;
     mem->object_sz = -1;
+    mem->fd = -1;
     /* XXX account log_url */
     debug(20, 3) ("new_MemObject: returning %p\n", mem);
     return mem;