From: rousskov <> Date: Wed, 8 Apr 1998 05:59:26 +0000 (+0000) Subject: - added storeEntryReply() X-Git-Tag: SQUID_3_0_PRE1~3592 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3986a158c4430c8c8da51581ddb72336a36a7ef;p=thirdparty%2Fsquid.git - added storeEntryReply() --- diff --git a/src/store.cc b/src/store.cc index e4f8f48476..f5772d7dbc 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.400 1998/04/02 17:11:26 rousskov Exp $ + * $Id: store.cc,v 1.401 1998/04/07 23:59:26 rousskov Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -1122,3 +1122,13 @@ contentLen(const StoreEntry * e) assert(e->mem_obj->reply != NULL); return e->mem_obj->object_sz - e->mem_obj->reply->hdr_sz; } + +HttpReply * +storeEntryReply(StoreEntry * e) +{ + if (NULL == e) + return NULL; + if (NULL == e->mem_obj) + return NULL; + return e->mem_obj->reply; +}