From f1aca3cd3d30ccee2683cdaad051539c21190fdb Mon Sep 17 00:00:00 2001 From: hno <> Date: Sun, 9 Feb 2003 00:45:09 +0000 Subject: [PATCH] Updated X-Accelerator-Vary with needed typecasts --- src/store.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/store.cc b/src/store.cc index d35617df1f..4840796d1c 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.557 2003/02/06 00:16:16 robertc Exp $ + * $Id: store.cc,v 1.558 2003/02/08 17:45:09 hno Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -529,7 +529,8 @@ storeSetPublicKey(StoreEntry * e) #if X_ACCELERATOR_VARY vary = httpHeaderGetList(&mem->getReply()->header, HDR_X_ACCELERATOR_VARY); if (vary.buf()) { - httpHeaderPutStr(&pe->getReply()->header, HDR_X_ACCELERATOR_VARY, vary.buf()); + /* Again, we own this structure layout */ + httpHeaderPutStr((HttpHeader *)&pe->getReply()->header, HDR_X_ACCELERATOR_VARY, vary.buf()); vary.clean(); } #endif -- 2.47.2