diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/htcacheclean.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/support/htcacheclean.c b/support/htcacheclean.c index 938a8cca57..609b2e5cc1 100644 --- a/support/htcacheclean.c +++ b/support/htcacheclean.c @@ -685,7 +685,8 @@ static int process_dir(char *path, apr_pool_t *pool, apr_off_t *nodes) } if (info.filetype == APR_DIR) { - char *dirpath=apr_pstrdup(p, d->basename); + char *dirpath = apr_pstrdup(p, d->basename); + if (process_dir(d->basename, pool, nodes)) { return 1; } @@ -695,7 +696,7 @@ static int process_dir(char *path, apr_pool_t *pool, apr_off_t *nodes) * If it fails, it likely means there was something else there. */ if (deldirs && !dryrun) { - apr_dir_remove(dirpath,p); + apr_dir_remove(dirpath, p); } continue; } |