trawick 01/06/05 09:46:55
Modified: locks/unix intraproc.c
Log:
use new name for pool field
Revision Changes Path
1.23 +5 -5 apr/locks/unix/intraproc.c
Index: intraproc.c
===================================================================
RCS file: /home/cvs/apr/locks/unix/intraproc.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- intraproc.c 2001/02/16 04:15:55 1.22
+++ intraproc.c 2001/06/05 16:46:52 1.23
@@ -78,8 +78,8 @@
apr_status_t stat;
pthread_mutexattr_t mattr;
- new->intraproc = (pthread_mutex_t *)apr_palloc(new->cntxt,
- sizeof(pthread_mutex_t));
+ new->intraproc = (pthread_mutex_t *)apr_palloc(new->pool,
+ sizeof(pthread_mutex_t));
if (new->intraproc == NULL ) {
return errno;
}
@@ -108,8 +108,8 @@
}
new->curr_locked = 0;
- apr_pool_cleanup_register(new->cntxt, (void *)new, lock_intra_cleanup,
- apr_pool_cleanup_null);
+ apr_pool_cleanup_register(new->pool, (void *)new, lock_intra_cleanup,
+ apr_pool_cleanup_null);
return APR_SUCCESS;
}
@@ -143,7 +143,7 @@
{
apr_status_t stat;
if ((stat = lock_intra_cleanup(lock)) == APR_SUCCESS) {
- apr_pool_cleanup_kill(lock->cntxt, lock, lock_intra_cleanup);
+ apr_pool_cleanup_kill(lock->pool, lock, lock_intra_cleanup);
return APR_SUCCESS;
}
return stat;