| 1462 | return NULL; |
| 1463 | } |
| 1464 | static const char |
| 1465 | *set_cache_dirlength(cmd_parms *parms, void *in_struct_ptr, const char *arg) |
| 1466 | { |
| 1467 | disk_cache_conf *conf = ap_get_module_config(parms->server->module_config, |
| 1468 | &cache_disk_module); |
| 1469 | int val = atoi(arg); |
| 1470 | if (val < 1) |
| 1471 | return "CacheDirLength value must be an integer greater than 0"; |
| 1472 | if (val * conf->dirlevels > CACHEFILE_LEN) |
| 1473 | return "CacheDirLevels*CacheDirLength value must not be higher than 20"; |
| 1474 | |
| 1475 | conf->dirlength = val; |
| 1476 | return NULL; |
| 1477 | } |
| 1478 | |
| 1479 | static const char |
| 1480 | *set_cache_minfs(cmd_parms *parms, void *in_struct_ptr, const char *arg) |
nothing calls this directly
no test coverage detected