diff options
author | clement <clement@FreeBSD.org> | 2004-11-04 19:53:41 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-11-04 19:53:41 +0800 |
commit | 024b3609eaa024a67c52f56529c700a7cc186bd4 (patch) | |
tree | 73f9ac3214c003e26dc917a87270a3aeb8f9ad1f /www | |
parent | 5e1b7f6f1edc4b384f3f4bc816291d4684ba7e07 (diff) | |
download | freebsd-ports-gnome-024b3609eaa024a67c52f56529c700a7cc186bd4.tar.gz freebsd-ports-gnome-024b3609eaa024a67c52f56529c700a7cc186bd4.tar.zst freebsd-ports-gnome-024b3609eaa024a67c52f56529c700a7cc186bd4.zip |
- Fix previous patch :-)
Huge pointy hat to: me
Noticed by: Meno Abels <meno.abels@adviser.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/apache2/files/patch-modules:experimental:util_ldap_cache_mgr.c | 14 | ||||
-rw-r--r-- | www/apache20/files/patch-modules:experimental:util_ldap_cache_mgr.c | 14 |
2 files changed, 14 insertions, 14 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; diff --git a/www/apache20/files/patch-modules:experimental:util_ldap_cache_mgr.c b/www/apache20/files/patch-modules:experimental:util_ldap_cache_mgr.c index 8a8749ebbc0f..ca5352107d51 100644 --- a/www/apache20/files/patch-modules:experimental:util_ldap_cache_mgr.c +++ b/www/apache20/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; |