Removed some uses of RefCount::getRaw() in DelayPool.cc

From: Tsantilas Christos <chtsanti@dont-contact.us>
Date: Sun, 22 Apr 2007 13:32:17 +0300

Hi Duane,

 I think there is an error in DelayPool.cc file and squid3 does not
compiles if delay pools are enabled.
The fix is:

--- DelayPool.cc 20 Apr 2007 22:51:19 -0000 1.6
+++ DelayPool.cc 22 Apr 2007 07:21:19 -0000
@@ -69,7 +69,7 @@
 void
 DelayPool::dump (StoreEntry *entry, unsigned int i) const
 {
- if (!theComposite() != NULL)
+ if (theComposite() != NULL)
         return;

     storeAppendPrintf(entry, "delay_class %d %s\n", i + 1,
pool->theClassTypeLabel());

Duane Wessels wrote:
> wessels 2007/04/20 16:24:07 MDT
>
> ................................
> Log:
> Removed some uses of RefCount::getRaw()
>
> We can compare RefCount pointers to NULL without using getRaw() as long
> as the RefCount pointer is on the left, and NULL is on the right.
>
> .........................
Received on Sun Apr 22 2007 - 04:30:35 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 29 2007 - 12:00:03 MDT