From: robertc <> Date: Tue, 12 Aug 2003 03:55:47 +0000 (+0000) Subject: Summary: MORE!!! MSVC Fixes. X-Git-Tag: SQUID_3_0_PRE3~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b65351fa505a1e2035ff4a20444df0f11c1bfc62;p=thirdparty%2Fsquid.git Summary: MORE!!! MSVC Fixes. Keywords: Don't use initialiser syntax for char const *'s. Don't use member address in initialisation lists. --- diff --git a/src/client_side.cc b/src/client_side.cc index 583569c8f1..156adb9f3d 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.654 2003/08/10 11:00:42 robertc Exp $ + * $Id: client_side.cc,v 1.655 2003/08/11 21:55:47 robertc Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -877,7 +877,7 @@ ClientSocketContext::packRange(StoreIOBuffer const &source, MemBuf * mb) { HttpHdrRangeIter * i = &http->range_iter; Range available (source.range()); - char const *buf (source.data); + char const *buf = source.data; while (i->currentSpec() && available.size()) { const size_t copy_sz = lengthToSend(available); @@ -3073,8 +3073,10 @@ ConnStateData::operator delete (void *address) cbdataFree(t); } -ConnStateData::ConnStateData() : transparent_ (false), reading_ (false), openReference (this) -{} +ConnStateData::ConnStateData() : transparent_ (false), reading_ (false) +{ + openReference = this; +} bool ConnStateData::transparent() const