From: Rainer Jung Date: Mon, 14 Jan 2013 17:38:34 +0000 (+0000) Subject: Fix htcacheclean list options "-a" and "-A". X-Git-Tag: 2.5.0-alpha~5883 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f7fb45f59de55f4eb058ba523c445de23a69935;p=apache Fix htcacheclean list options "-a" and "-A". No filetype without APR_FINFO_TYPE. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1433001 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htcacheclean.c b/support/htcacheclean.c index 9ca9278951..f093410ca1 100644 --- a/support/htcacheclean.c +++ b/support/htcacheclean.c @@ -421,7 +421,7 @@ static int list_urls(char *path, apr_pool_t *pool, apr_off_t round) return 1; } - while (apr_dir_read(&info, 0, dir) == APR_SUCCESS && !interrupted) { + while (apr_dir_read(&info, APR_FINFO_TYPE, dir) == APR_SUCCESS && !interrupted) { if (info.filetype == APR_DIR) { if (!strcmp(info.name, ".") || !strcmp(info.name, "..")) {