summaryrefslogtreecommitdiff
path: root/locks/win32
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-10-15 14:20:30 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-10-15 14:20:30 +0000
commit702e374fd71b5208832357f99b0c364fcb14d73d (patch)
treea2b719ca7751b9ea01615f973fe8ae10a286ebd0 /locks/win32
parent80368067d737ad76c9591cbd9edc41bf0fb98201 (diff)
downloadlibapr-702e374fd71b5208832357f99b0c364fcb14d73d.tar.gz
Fix a bug in the logic to set/get userdata from ALL apr types. I have
known about this bug for a while, but I am just now finding the time to fix it. :) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59352 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks/win32')
-rw-r--r--locks/win32/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locks/win32/locks.c b/locks/win32/locks.c
index 8e8450211..23c85465f 100644
--- a/locks/win32/locks.c
+++ b/locks/win32/locks.c
@@ -167,7 +167,7 @@ ap_status_t ap_destroy_lock(struct lock_t *lock)
ap_status_t ap_get_lockdata(struct lock_t *lock, char *key, void *data)
{
if (lock != NULL) {
- return ap_get_userdata(&data, key, lock->cntxt);
+ return ap_get_userdata(data, key, lock->cntxt);
}
else {
data = NULL;