diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2010-07-02 20:00:26 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2010-07-02 20:00:26 +0200 |
commit | 661afad48c2d86cb7df88ae230d49c8cd0aa13e4 (patch) | |
tree | 2aad6035fd09940cfc130bc3c790ad26f5a3fe75 /modules/cache/mod_socache_shmcb.c | |
parent | actually update the MMN and not only the comment (diff) | |
download | apache2-661afad48c2d86cb7df88ae230d49c8cd0aa13e4.tar.xz apache2-661afad48c2d86cb7df88ae230d49c8cd0aa13e4.zip |
Clean shmcb iterator call syntax and return value
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960073 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache/mod_socache_shmcb.c')
-rw-r--r-- | modules/cache/mod_socache_shmcb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index bba1e9a477..a56b8d9f78 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -972,8 +972,8 @@ static apr_status_t shmcb_subcache_iterate(ap_socache_instance_t *instance, data_offset, dest_len); dest[dest_len] = '\0'; - rv = (*iterator)(instance, s, userctx, id, idx->id_len, - dest, dest_len, pool); + rv = iterator(instance, s, userctx, id, idx->id_len, + dest, dest_len, pool); ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, s, "shmcb entry iterated"); if (rv != APR_SUCCESS) @@ -991,7 +991,7 @@ static apr_status_t shmcb_subcache_iterate(ap_socache_instance_t *instance, pos = SHMCB_CYCLIC_INCREMENT(pos, 1, header->index_num); } - return -1; /* failure */ + return APR_SUCCESS; } static const ap_socache_provider_t socache_shmcb = { |