diff options
author | Ryan Bloom <rbb@apache.org> | 1999-10-08 20:04:44 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 1999-10-08 20:04:44 +0000 |
commit | e84e55e4556c6764ea1208b0c7746596aaa803be (patch) | |
tree | 4b6fcb7f55f3b32b3867060cdd322a873980c359 /threadproc/unix/threadpriv.c | |
parent | 03407b92ecac645ab4fab2d8c4b4a6ad6e115c13 (diff) | |
download | apr-e84e55e4556c6764ea1208b0c7746596aaa803be.tar.gz |
Bring the misc code up to the APR parameter order spec. This also fixes a few
files I missed when doing the locks argument ordering fixes.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/unix/threadpriv.c')
-rw-r--r-- | threadproc/unix/threadpriv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/threadproc/unix/threadpriv.c b/threadproc/unix/threadpriv.c index 6e7e97f3e..3134ad313 100644 --- a/threadproc/unix/threadpriv.c +++ b/threadproc/unix/threadpriv.c @@ -139,7 +139,7 @@ ap_status_t ap_delete_thread_private(struct threadkey_t *key) ap_status_t ap_get_threadkeydata(struct threadkey_t *threadkey, char *key, void *data) { if (threadkey != NULL) { - return ap_get_userdata(&data, threadkey->cntxt, key); + return ap_get_userdata(&data, key, threadkey->cntxt); } else { data = NULL; @@ -158,7 +158,7 @@ ap_status_t ap_set_threadkeydata(struct threadkey_t *threadkey, void *data, char *key, ap_status_t (*cleanup) (void *)) { if (threadkey != NULL) { - return ap_set_userdata(threadkey->cntxt, data, key, cleanup); + return ap_set_userdata(data, key, cleanup, threadkey->cntxt); } else { data = NULL; |