summaryrefslogtreecommitdiff
path: root/tables
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-08-02 03:18:44 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-08-02 03:18:44 +0000
commit3db789aba3692836ca6819b3a909e5cdeb6117ff (patch)
treed208346821a143eff2d1706b614479d769d94c69 /tables
parentfc19cfc1bf6ff6d9089f8de0fd1c8e19b68f8c34 (diff)
downloadlibapr-3db789aba3692836ca6819b3a909e5cdeb6117ff.tar.gz
Now I _know_ how long it's been since someone actually was _really_
testing these goodies ;) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62081 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r--tables/apr_hash.c4
-rw-r--r--tables/apr_tables.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tables/apr_hash.c b/tables/apr_hash.c
index 21f4bb371..49e11f5ef 100644
--- a/tables/apr_hash.c
+++ b/tables/apr_hash.c
@@ -344,12 +344,12 @@ APR_DECLARE(apr_hash_t*) apr_hash_overlay(apr_pool_t *p,
* overlay->a.pool and base->a.pool have a life span at least
* as long as p
*/
- if (!apr_pool_is_ancestor(overlay->a.pool, p)) {
+ if (!apr_pool_is_ancestor(overlay->pool, p)) {
fprintf(stderr,
"apr_hash_overlay: overlay's pool is not an ancestor of p\n");
abort();
}
- if (!apr_pool_is_ancestor(base->a.pool, p)) {
+ if (!apr_pool_is_ancestor(base->pool, p)) {
fprintf(stderr,
"apr_hash_overlay: base's pool is not an ancestor of p\n");
abort();
diff --git a/tables/apr_tables.c b/tables/apr_tables.c
index 4cf971ab0..e6e29ee0f 100644
--- a/tables/apr_tables.c
+++ b/tables/apr_tables.c
@@ -313,7 +313,7 @@ APR_DECLARE(apr_table_t *) apr_table_copy(apr_pool_t *p, const apr_table_t *t)
/* we don't copy keys and values, so it's necessary that t->a.pool
* have a life span at least as long as p
*/
- if (!apr_pool_is_ancestor(t->a.cont, p)) {
+ if (!apr_pool_is_ancestor(t->a.pool, p)) {
fprintf(stderr, "copy_table: t's pool is not an ancestor of p\n");
abort();
}