]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed "if (srv->flags.reserved = S_HELPER_FREE)" typo, assuming it should have
authorrousskov <>
Fri, 11 May 2007 10:06:08 +0000 (10:06 +0000)
committerrousskov <>
Fri, 11 May 2007 10:06:08 +0000 (10:06 +0000)
been "==" and not "!=".

src/helper.cc

index 99d961f99951dec8afa57b6ae1e2b0f2b6ed4db2..3b86034213932773e09f5df8b0f1eb13b725451a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: helper.cc,v 1.84 2007/05/09 09:07:39 wessels Exp $
+ * $Id: helper.cc,v 1.85 2007/05/11 04:06:08 rousskov Exp $
  *
  * DEBUG: section 84    Helper process maintenance
  * AUTHOR: Harvest Derived?
@@ -486,8 +486,8 @@ void
 helperStatefulReleaseServer(helper_stateful_server * srv)
 {
     debugs(84, 3, HERE << "srv-" << srv->index << " flags.reserved = " << srv->flags.reserved);
-    if (srv->flags.reserved = S_HELPER_FREE)
-       return;
+    if (srv->flags.reserved == S_HELPER_FREE)
+        return;
 
     srv->stats.releases++;