]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
parsing fix
authorwessels <>
Sun, 1 Dec 1996 07:51:54 +0000 (07:51 +0000)
committerwessels <>
Sun, 1 Dec 1996 07:51:54 +0000 (07:51 +0000)
src/cache_cf.cc

index 5d7df74828bd17d528a3f1b52722658f39b67052..e011363bae5443d2185d08cabbc2ec7f280729db 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cache_cf.cc,v 1.147 1996/11/30 23:09:49 wessels Exp $
+ * $Id: cache_cf.cc,v 1.148 1996/12/01 00:51:54 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -953,7 +953,7 @@ parseVizHackLine(void)
     if (sscanf(token, "%d", &i) == 1)
        Config.vizHack.port = i;
     Config.vizHack.mcast_ttl = 64;
-    if ((token = strtok(NULL, w_space)) != NULL)
+    if ((token = strtok(NULL, w_space)) == NULL)
        return;
     if (sscanf(token, "%d", &i) == 1)
        Config.vizHack.mcast_ttl = i;