httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1433001 - /httpd/httpd/trunk/support/htcacheclean.c
Date Mon, 14 Jan 2013 17:38:34 GMT
Author: rjung
Date: Mon Jan 14 17:38:34 2013
New Revision: 1433001

URL: http://svn.apache.org/viewvc?rev=1433001&view=rev
Log:
Fix htcacheclean list options "-a" and "-A".

No filetype without APR_FINFO_TYPE.

Modified:
    httpd/httpd/trunk/support/htcacheclean.c

Modified: httpd/httpd/trunk/support/htcacheclean.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/htcacheclean.c?rev=1433001&r1=1433000&r2=1433001&view=diff
==============================================================================
--- httpd/httpd/trunk/support/htcacheclean.c (original)
+++ httpd/httpd/trunk/support/htcacheclean.c Mon Jan 14 17:38:34 2013
@@ -421,7 +421,7 @@ static int list_urls(char *path, apr_poo
         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, "..")) {



Mime
View raw message