From: Rainer Jung Date: Mon, 14 Jan 2013 17:38:34 +0000 (+0000) Subject: Fix htcacheclean list options "-a" and "-A". X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c32a301dffc7a8230581f54e3e887a57daf6c7f6;p=thirdparty%2Fapache%2Fhttpd.git 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 9ca92789514..f093410ca1f 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, "..")) {