httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r960075 - /httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
Date Fri, 02 Jul 2010 18:02:52 GMT
Author: wrowe
Date: Fri Jul  2 18:02:51 2010
New Revision: 960075

URL: http://svn.apache.org/viewvc?rev=960075&view=rev
Log:
Clean iterator call syntax

Modified:
    httpd/httpd/trunk/modules/cache/mod_socache_dbm.c

Modified: httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_dbm.c?rev=960075&r1=960074&r2=960075&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_dbm.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_dbm.c Fri Jul  2 18:02:51 2010
@@ -538,7 +538,7 @@ static apr_status_t socache_dbm_iterate(
                 expired = TRUE;
         }
         if (!expired) {
-            rv = (*iterator)(ctx, s, userctx,
+            rv = iterator(ctx, s, userctx,
                              (unsigned char *)dbmkey.dptr, dbmkey.dsize,
                              (unsigned char *)dbmval.dptr + sizeof(apr_time_t),
                              dbmval.dsize - sizeof(apr_time_t), pool);
@@ -546,8 +546,6 @@ static apr_status_t socache_dbm_iterate(
                          "dbm `%s' entry iterated", ctx->data_file);
             if (rv != APR_SUCCESS)
                 return rv;
- 
-
         }
         rv = apr_dbm_nextkey(dbm, &dbmkey);
     }



Mime
View raw message