summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
Diffstat (limited to 'locks')
-rw-r--r--locks/unix/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locks/unix/locks.c b/locks/unix/locks.c
index d86506c33..037ee43cb 100644
--- a/locks/unix/locks.c
+++ b/locks/unix/locks.c
@@ -244,7 +244,7 @@ apr_status_t apr_lock_release(apr_lock_t *lock)
}
#if APR_HAS_THREADS
- lock->owner = NULL;
+ lock->owner = 0;
lock->owner_ref = 0;
#endif