File 10790.patch of Package squid-beta

---------------------
PatchSet 10790 
Date: 2007/05/11 04:06:08
Author: rousskov
Branch: HEAD
Tag: (none) 
Log:
Fixed "if (srv->flags.reserved = S_HELPER_FREE)" typo, assuming it should have
been "==" and not "!=".

Members: 
	src/helper.cc:1.84->1.85 

Index: squid3/src/helper.cc
===================================================================
RCS file: /cvsroot/squid/squid3/src/helper.cc,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- squid3/src/helper.cc	9 May 2007 09:07:39 -0000	1.84
+++ squid3/src/helper.cc	11 May 2007 04:06:08 -0000	1.85
@@ -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 @@
 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++;