aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_lock.c')
-rw-r--r--funcs/func_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_lock.c b/funcs/func_lock.c
index 5d116e82c..f63a08c19 100644
--- a/funcs/func_lock.c
+++ b/funcs/func_lock.c
@@ -46,7 +46,7 @@ AST_LIST_HEAD_STATIC(locklist, lock_frame);
static void lock_free(void *data);
static void lock_fixup(void *data, struct ast_channel *oldchan, struct ast_channel *newchan);
static int unloading = 0;
-static pthread_t broker_tid = -1;
+static pthread_t broker_tid = AST_PTHREADT_NULL;
static struct ast_datastore_info lock_info = {
.type = "MUTEX",