diff options
author | Mark Spencer <markster@digium.com> | 2005-09-28 23:10:14 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-09-28 23:10:14 +0000 |
commit | ea215f5b7dfd8e160b742aa2f3533dbd8f3fc4c0 (patch) | |
tree | 2794fc86c3f44dae1496cd39a926e5c5a3d3f674 /res/res_features.c | |
parent | 4287cb7f42d1809000a59789a6a774ca833c00ed (diff) |
Remove possibility of manager deadlocks from manager actions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_features.c')
-rwxr-xr-x | res/res_features.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |