]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: MORE!!! MSVC Fixes.
authorrobertc <>
Tue, 12 Aug 2003 03:55:47 +0000 (03:55 +0000)
committerrobertc <>
Tue, 12 Aug 2003 03:55:47 +0000 (03:55 +0000)
Keywords:

Don't use initialiser syntax for char const *'s.
Don't use member address in initialisation lists.

src/client_side.cc

index 583569c8f13330e5b1a389515cc8c6e8f6c78743..156adb9f3d9d8883d0e6372f09961124fedbd075 100644 (file)
@@ -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<size_t> 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