summaryrefslogtreecommitdiff
path: root/tables
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-02-13 17:57:12 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2002-02-13 17:57:12 +0000
commitc3bb8b6996d462d98c20f554761dbfdb222444f0 (patch)
treef1211531d7891102f56ebb8b456987805171a885 /tables
parentb05cd2969b8b8891987ca9bf656a2cba51756949 (diff)
downloadlibapr-c3bb8b6996d462d98c20f554761dbfdb222444f0.tar.gz
Update debug-only code (with invalid #ifdefs anyway) to use apr_pool_find.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62982 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r--tables/apr_tables.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tables/apr_tables.c b/tables/apr_tables.c
index 0f571a0fe..de75dc158 100644
--- a/tables/apr_tables.c
+++ b/tables/apr_tables.c
@@ -441,11 +441,11 @@ APR_DECLARE(void) apr_table_setn(apr_table_t *t, const char *key,
#ifdef POOL_DEBUG
{
- if (!apr_pool_is_ancestor(apr_find_pool(key), t->a.pool)) {
+ if (!apr_pool_is_ancestor(apr_pool_find(key), t->a.pool)) {
fprintf(stderr, "table_set: key not in ancestor pool of t\n");
abort();
}
- if (!apr_pool_is_ancestor(apr_find_pool(val), t->a.pool)) {
+ if (!apr_pool_is_ancestor(apr_pool_find(val), t->a.pool)) {
fprintf(stderr, "table_set: val not in ancestor pool of t\n");
abort();
}
@@ -540,11 +540,11 @@ APR_DECLARE(void) apr_table_mergen(apr_table_t *t, const char *key,
#ifdef POOL_DEBUG
{
- if (!apr_pool_is_ancestor(apr_find_pool(key), t->a.pool)) {
+ if (!apr_pool_is_ancestor(apr_pool_find(key), t->a.pool)) {
fprintf(stderr, "table_set: key not in ancestor pool of t\n");
abort();
}
- if (!apr_pool_is_ancestor(apr_find_pool(val), t->a.pool)) {
+ if (!apr_pool_is_ancestor(apr_pool_find(val), t->a.pool)) {
fprintf(stderr, "table_set: key not in ancestor pool of t\n");
abort();
}
@@ -586,11 +586,11 @@ APR_DECLARE(void) apr_table_addn(apr_table_t *t, const char *key,
#ifdef POOL_DEBUG
{
- if (!apr_pool_is_ancestor(apr_find_pool(key), t->a.pool)) {
+ if (!apr_pool_is_ancestor(apr_pool_find(key), t->a.pool)) {
fprintf(stderr, "table_set: key not in ancestor pool of t\n");
abort();
}
- if (!apr_pool_is_ancestor(apr_find_pool(val), t->a.pool)) {
+ if (!apr_pool_is_ancestor(apr_pool_find(val), t->a.pool)) {
fprintf(stderr, "table_set: key not in ancestor pool of t\n");
abort();
}