Fix compile-time issue related to removing getRaw() uses.
Tsantilas says Squid won't compile with delay pools enabled after
I removed getRaw() here. It seems to compile okay on FreeBSD (gcc
3.4.2), but it is certainly better to write "if (X == NULL)" rather
than "if (!X != NULL)".
/*
- * $Id: DelayPool.cc,v 1.6 2007/04/20 22:24:07 wessels Exp $
+ * $Id: DelayPool.cc,v 1.7 2007/04/23 06:11:55 wessels Exp $
*
* DEBUG: section 77 Delay Pools
* AUTHOR: Robert Collins <robertc@squid-cache.org>
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());