From: wessels <> Date: Sat, 9 May 1998 05:54:02 +0000 (+0000) Subject: initialize mem_obj->fd = -1 X-Git-Tag: SQUID_3_0_PRE1~3355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed03a839eb87d71b46ea3f2fe9f12153bfb58298;p=thirdparty%2Fsquid.git initialize mem_obj->fd = -1 --- diff --git a/src/store.cc b/src/store.cc index f5e56d1564..ee5caa178a 100644 --- a/src/store.cc +++ b/src/store.cc @@ -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;