diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-11-04 11:53:41 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-11-04 11:53:41 +0000 |
commit | 3a52300e23f895202d4d112338e40ba8ae1236e0 (patch) | |
tree | b6915f364a473603b1d785d1b0a0d77032fd8713 /www/apache2 | |
parent | - Update to 0.7.16 (diff) |
- Fix previous patch :-)
Huge pointy hat to: me
Noticed by: Meno Abels <meno.abels@adviser.com>
Notes
Notes:
svn path=/head/; revision=120764
Diffstat (limited to 'www/apache2')
-rw-r--r-- | www/apache2/files/patch-modules:experimental:util_ldap_cache_mgr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/apache2/files/patch-modules:experimental:util_ldap_cache_mgr.c b/www/apache2/files/patch-modules:experimental:util_ldap_cache_mgr.c index 8a8749ebbc0f..ca5352107d51 100644 --- a/www/apache2/files/patch-modules:experimental:util_ldap_cache_mgr.c +++ b/www/apache2/files/patch-modules:experimental:util_ldap_cache_mgr.c @@ -1,20 +1,20 @@ ---- modules/experimental/util_ldap_cache_mgr.c.orig Thu Sep 23 18:55:37 2004 -+++ modules/experimental/util_ldap_cache_mgr.c Sat Oct 30 21:37:48 2004 +--- modules/experimental/util_ldap_cache_mgr.c Thu Sep 23 18:55:37 2004 ++++ modules/experimental/util_ldap_cache_mgr.c Wed Nov 3 06:17:59 2004 @@ -173,7 +173,7 @@ void util_ald_cache_purge(util_ald_cache_t *cache) { unsigned long i; - util_cache_node_t *p, *q; -+ util_cache_node_t *p, *q, *pp; ++ util_cache_node_t *p, *q, **pp; apr_time_t t; - + if (!cache) @@ -184,7 +184,8 @@ cache->numpurges++; - + for (i=0; i < cache->size; ++i) { - p = cache->nodes[i]; -+ p = cache->nodes + i; ++ pp = cache->nodes + i; + p = *pp; while (p != NULL) { if (p->add_time < cache->marktime) { @@ -34,7 +34,7 @@ + p = *pp; } } } - + @@ -686,7 +688,9 @@ default: break; |