mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
More locking fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -767,6 +767,7 @@ static void reload_queues(void)
|
||||
if (q) {
|
||||
/* Initialize it */
|
||||
memset(q, 0, sizeof(struct ast_call_queue));
|
||||
ast_pthread_mutex_init(&q->lock);
|
||||
strncpy(q->name, cat, sizeof(q->name));
|
||||
new = 1;
|
||||
} else new = 0;
|
||||
|
Reference in New Issue
Block a user