diff options
author | striker <striker@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-30 00:54:55 +0000 |
---|---|---|
committer | striker <striker@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-30 00:54:55 +0000 |
commit | aa97b1d93bc3edb8ecb4dcb34b8267dcb2a6dcdf (patch) | |
tree | 39312601fd40888b18db842e88135fe79a607bbc /memory | |
parent | a5fcd7ca047d8e7634c9fba7b4110bcbe654e1fd (diff) | |
download | libapr-aa97b1d93bc3edb8ecb4dcb34b8267dcb2a6dcdf.tar.gz |
The style police patrols in a dimly lit alleyway...
Issued tickets for tabs and trailing whitespace.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63446 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r-- | memory/unix/apr_pools.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index a52b04caa..51c0d9a54 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -948,7 +948,7 @@ static int psprintf_flush(apr_vformatter_buff_t *vbuff) active->next = node; node->ref = &active->next; } - + node = pool->active; } else { @@ -957,7 +957,7 @@ static int psprintf_flush(apr_vformatter_buff_t *vbuff) if (ps->got_a_new_node) { active->next = ps->free; - ps->free = node; + ps->free = node; } ps->got_a_new_node = 1; @@ -1385,7 +1385,7 @@ APR_DECLARE(void) apr_pool_clear_debug(apr_pool_t *pool, #if APR_HAS_THREADS apr_thread_mutex_t *mutex = NULL; #endif - + apr_pool_check_integrity(pool); #if (APR_POOL_DEBUG & APR_POOL_DEBUG_VERBOSE) @@ -1394,17 +1394,17 @@ APR_DECLARE(void) apr_pool_clear_debug(apr_pool_t *pool, #if APR_HAS_THREADS if (pool->parent != NULL) - mutex = pool->parent->mutex; - + mutex = pool->parent->mutex; + /* Lock the parent mutex before clearing so that if we have our * own mutex it won't be accessed by apr_pool_walk_tree after * it has been destroyed. */ if (mutex != NULL && mutex != pool->mutex) { - apr_thread_mutex_lock(mutex); + apr_thread_mutex_lock(mutex); } #endif - + pool_clear_debug(pool, file_line); #if APR_HAS_THREADS @@ -1416,8 +1416,8 @@ APR_DECLARE(void) apr_pool_clear_debug(apr_pool_t *pool, (void)apr_thread_mutex_create(&pool->mutex, APR_THREAD_MUTEX_NESTED, pool); - if (mutex != NULL) - (void)apr_thread_mutex_unlock(mutex); + if (mutex != NULL) + (void)apr_thread_mutex_unlock(mutex); } #endif /* APR_HAS_THREADS */ } |