]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW braino^2
authorwessels <>
Thu, 9 Apr 1998 06:39:36 +0000 (06:39 +0000)
committerwessels <>
Thu, 9 Apr 1998 06:39:36 +0000 (06:39 +0000)
src/cache_cf.cc

index 3b6f6c25676b5b132bad4f7083e0c5c164b629c6..303a5c47b91da649fbccfaa0310d398f5ab68c6e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.274 1998/04/09 00:39:00 wessels Exp $
+ * $Id: cache_cf.cc,v 1.275 1998/04/09 00:39:36 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -344,7 +344,7 @@ parseBytesLine(size_t * bptr, const char *units)
     m = u;                     /* default to 'units' if none specified */
     if (0 == d)
        (void) 0;
-    if ((token = strtok(NULL, w_space)) == NULL)
+    else if ((token = strtok(NULL, w_space)) == NULL)
        debug(3, 0) ("WARNING: No units on '%s', assuming %f %s\n",
            config_input_line, d, units);
     else if ((m = parseBytesUnits(token)) == 0)