From 2fc7e07cb1016e36c07f7020e37e24db2721ef86 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Fri, 2 Jul 2010 18:02:51 +0000 Subject: [PATCH] Clean iterator call syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960075 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_dbm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c index 60e551de2a..fabf778212 100644 --- a/modules/cache/mod_socache_dbm.c +++ b/modules/cache/mod_socache_dbm.c @@ -538,7 +538,7 @@ static apr_status_t socache_dbm_iterate(ap_socache_instance_t *ctx, 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(ap_socache_instance_t *ctx, "dbm `%s' entry iterated", ctx->data_file); if (rv != APR_SUCCESS) return rv; - - } rv = apr_dbm_nextkey(dbm, &dbmkey); } -- 2.50.1