mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
Merged revisions 89288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89288 | mmichelson | 2007-11-15 08:57:28 -0600 (Thu, 15 Nov 2007) | 3 lines Undoing previous commit since I realize it was wrong ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2834,7 +2834,6 @@ static struct mansession *find_session(unsigned long ident)
|
|||||||
ast_mutex_lock(&s->__lock);
|
ast_mutex_lock(&s->__lock);
|
||||||
if (s->managerid == ident && !s->needdestroy) {
|
if (s->managerid == ident && !s->needdestroy) {
|
||||||
ast_atomic_fetchadd_int(&s->inuse, 1);
|
ast_atomic_fetchadd_int(&s->inuse, 1);
|
||||||
ast_mutex_unlock(&s->__lock);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ast_mutex_unlock(&s->__lock);
|
ast_mutex_unlock(&s->__lock);
|
||||||
|
Reference in New Issue
Block a user