]> granicus.if.org Git - apache/commitdiff
Clean iterator call syntax
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 2 Jul 2010 18:02:51 +0000 (18:02 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 2 Jul 2010 18:02:51 +0000 (18:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960075 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_socache_dbm.c

index 60e551de2a75851e4ecdf405e749fe09f08389f1..fabf7782129fbf15c9d93f13f65b6e6adc95d1f1 100644 (file)
@@ -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);
     }