1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-01-03 14:56:34 -05:00

Fix: Corrected copy and paste error of lock/unlock

This commit is contained in:
Philipp Schafft 2018-09-20 12:12:40 +00:00
parent 231e60a46a
commit 3f3191ce0b

View File

@ -1037,7 +1037,7 @@ auth_t *auth_stack_get(auth_stack_t *stack) {
if (!stack)
return NULL;
thread_mutex_unlock(&stack->lock);
thread_mutex_lock(&stack->lock);
auth_addref(auth = stack->auth);
thread_mutex_unlock(&stack->lock);
return auth;