From: wessels <> Date: Sun, 1 Dec 1996 07:51:54 +0000 (+0000) Subject: parsing fix X-Git-Tag: SQUID_3_0_PRE1~5367 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30e9cbfa4d762c9cc6c49a4e7870cc76a64f6a44;p=thirdparty%2Fsquid.git parsing fix --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 5d7df74828..e011363bae 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -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;