From: William A. Rowe Jr Date: Fri, 2 Jul 2010 18:02:51 +0000 (+0000) Subject: Clean iterator call syntax X-Git-Tag: 2.3.7~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fc7e07cb1016e36c07f7020e37e24db2721ef86;p=apache Clean iterator call syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960075 13f79535-47bb-0310-9956-ffa450edef68 --- 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); }