From 83fdaa72f7001d2f2260b81ea15e0bdcb14b3124 Mon Sep 17 00:00:00 2001 From: markster Date: Wed, 28 Sep 2005 23:10:14 +0000 Subject: Remove possibility of manager deadlocks from manager actions git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6687 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_features.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'res') diff --git a/res/res_features.c b/res/res_features.c index 660dc8db8..8ee672ac4 100755 --- a/res/res_features.c +++ b/res/res_features.c @@ -1876,8 +1876,7 @@ static int manager_parking_status( struct mansession *s, struct message *m ) cur=parkinglot; while(cur) { - ast_mutex_lock(&s->lock); - ast_cli(s->fd, "Event: ParkedCall\r\n" + ast_cli(s->fd, "Event: ParkedCall\r\n" "Exten: %d\r\n" "Channel: %s\r\n" "Timeout: %ld\r\n" @@ -1890,7 +1889,6 @@ static int manager_parking_status( struct mansession *s, struct message *m ) ,(cur->chan->cid.cid_num ? cur->chan->cid.cid_num : "") ,(cur->chan->cid.cid_name ? cur->chan->cid.cid_name : "") ,idText); - ast_mutex_unlock(&s->lock); cur = cur->next; } -- cgit v1.2.3