dect
/
asterisk
Archived
13
0
Fork 0

Make QueueStatusComplete manager event thread safe by wrapping it inside the already existing Queue Lock clause. #7013 (bziherl reporting)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25523 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
bweschke 2006-05-08 13:38:14 +00:00
parent 2b2565f7ae
commit 77999f4d25
1 changed files with 2 additions and 1 deletions

View File

@ -3828,13 +3828,14 @@ static int manager_queues_status( struct mansession *s, struct message *m )
}
ast_mutex_unlock(&q->lock);
}
AST_LIST_UNLOCK(&queues);
astman_append(s,
"Event: QueueStatusComplete\r\n"
"%s"
"\r\n",idText);
AST_LIST_UNLOCK(&queues);
return RESULT_SUCCESS;
}