summaryrefslogtreecommitdiff
path: root/memory/unix
diff options
context:
space:
mode:
authorstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-03-31 10:12:21 +0000
committerstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-03-31 10:12:21 +0000
commit3a2a5c61afd1cdbb86a4e3aff913f75073f9578f (patch)
treeda3cfd203c22bd68fb25fd4887ab269283be670b /memory/unix
parent39952bb72d0a5a79828db9959e285088b0925bf7 (diff)
downloadlibapr-3a2a5c61afd1cdbb86a4e3aff913f75073f9578f.tar.gz
Fix a logic bug.
Submitted by: Cliff Woolley git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory/unix')
-rw-r--r--memory/unix/apr_pools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c
index a0b48025d..18fc8f2db 100644
--- a/memory/unix/apr_pools.c
+++ b/memory/unix/apr_pools.c
@@ -1316,7 +1316,7 @@ APR_DECLARE(apr_status_t) apr_pool_create_ex_debug(apr_pool_t **newpool,
pool->owner = apr_os_thread_current();
#endif /* APR_HAS_THREADS */
- if (parent != NULL || parent->allocator != allocator) {
+ if (parent == NULL || parent->allocator != allocator) {
#if APR_HAS_THREADS
apr_status_t rv;