/*
- * $Id: cache_cf.cc,v 1.273 1998/04/08 23:49:00 wessels Exp $
+ * $Id: cache_cf.cc,v 1.274 1998/04/09 00:39:00 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
self_destruct();
d = atof(token);
m = u; /* default to 'units' if none specified */
- if (d && (token = strtok(NULL, w_space)) == NULL)
+ if (0 == d)
+ (void) 0;
+ 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 = parseTimeUnits(token)) == 0)
self_destruct();
d = atof(token);
m = u; /* default to 'units' if none specified */
- if (d && (token = strtok(NULL, w_space)) == NULL)
+ if (0 == d)
+ (void) 0;
+ 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)