You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2010/07/02 20:02:52 UTC
svn commit: r960075 - /httpd/httpd/trunk/modules/cache/mod_socache_dbm.c
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);
}