/*
- * $Id: cache_cf.cc,v 1.301 1998/08/21 04:03:44 wessels Exp $
+ * $Id: cache_cf.cc,v 1.302 1998/08/21 16:58:11 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
requirePathnameExists("Error Directory", Config.errorDirectory);
#if HTTP_VIOLATIONS
{
- const refresh_t *R;
- for (R = Config.Refresh; R; R = R->next) {
- if (!R->flags.override_expire)
- continue;
- debug(22, 1) ("WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP\n");
- break;
- }
- for (R = Config.Refresh; R; R = R->next) {
- if (!R->flags.override_lastmod)
- continue;
- debug(22, 1) ("WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP\n");
- break;
- }
+ const refresh_t *R;
+ for (R = Config.Refresh; R; R = R->next) {
+ if (!R->flags.override_expire)
+ continue;
+ debug(22, 1) ("WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP\n");
+ break;
+ }
+ for (R = Config.Refresh; R; R = R->next) {
+ if (!R->flags.override_lastmod)
+ continue;
+ debug(22, 1) ("WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP\n");
+ break;
+ }
}
#endif
}
/*
- * $Id: stat.cc,v 1.280 1998/08/21 07:37:24 wessels Exp $
+ * $Id: stat.cc,v 1.281 1998/08/21 16:58:12 wessels Exp $
*
* DEBUG: section 18 Cache Manager Statistics
* AUTHOR: Harvest Derived
(int) mem->swapout.done_offset,
(int) mem->swapout.queue_offset,
mem->swapout.fd);
- for (i=0, sc = &mem->clients[i]; sc != NULL; sc = sc->next, i++) {
+ for (i = 0, sc = &mem->clients[i]; sc != NULL; sc = sc->next, i++) {
if (sc->callback_data == NULL)
continue;
storeAppendPrintf(s, "\tClient #%d\n", i);