]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bugzilla #241: assignment instead of equality in src/url.c:320
authorwessels <>
Sat, 29 Sep 2001 02:02:40 +0000 (02:02 +0000)
committerwessels <>
Sat, 29 Sep 2001 02:02:40 +0000 (02:02 +0000)
src/url.cc

index d5645d4a1705bef3a3a5879491edf317f9ade987..a0a7d5c5e38a6cebbc64c5b94f4f85968bde09e7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: url.cc,v 1.130 2001/04/14 00:03:24 hno Exp $
+ * $Id: url.cc,v 1.131 2001/09/28 20:02:40 wessels Exp $
  *
  * DEBUG: section 23    URL Parsing
  * AUTHOR: Duane Wessels
@@ -317,7 +317,7 @@ urlParse(method_t method, char *url)
 #ifdef HARDCODE_DENY_PORTS
     /* These ports are filtered in the default squid.conf, but
      * maybe someone wants them hardcoded... */
-    if (port == 7 || port == 9 || port = 19) {
+    if (port == 7 || port == 9 || port == 19) {
        debug(23, 0) ("urlParse: Deny access to port %d\n", port);
        return NULL;
     }