File 10816.patch of Package squid-beta
---------------------
PatchSet 10816
Date: 2007/05/20 04:22:06
Author: amosjeffries
Branch: HEAD
Tag: (none)
Log:
Haren SqStrign copy-constructor.
Members:
src/SqString.cc:1.4->1.5
Index: squid3/src/SqString.cc
===================================================================
RCS file: /cvsroot/squid/squid3/src/SqString.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- squid3/src/SqString.cc 19 May 2007 14:51:14 -0000 1.4
+++ squid3/src/SqString.cc 20 May 2007 04:22:06 -0000 1.5
@@ -1,6 +1,6 @@
/*
- * $Id: SqString.cc,v 1.4 2007/05/19 14:51:14 amosjeffries Exp $
+ * $Id: SqString.cc,v 1.5 2007/05/20 04:22:06 amosjeffries Exp $
*
* DEBUG: section 67 String
* AUTHOR: Duane Wessels
@@ -168,7 +168,7 @@
{
memset(this, 0, sizeof(SqString));
- init (old.c_str());
+ operator=(old);
#if DEBUGSTRINGS
SqStringRegistry::Instance().add(this);