mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 02:57:23 +00:00
Small typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7006,10 +7006,12 @@ static void *pri_dchannel(void *vpri)
|
||||
pri_hangup_all(pri->pvts[chanpos]->master);
|
||||
else
|
||||
pri->pvts[chanpos]->owner->_softhangup |= AST_SOFTHANGUP_DEV;
|
||||
ast_mutex_unlock(&pri->pvts[chanpos]->lock);
|
||||
chanpos = -1;
|
||||
}
|
||||
}
|
||||
ast_mutex_unlock(&pri->pvts[chanpos]->lock);
|
||||
if (chanpos > -1)
|
||||
ast_mutex_unlock(&pri->pvts[chanpos]->lock);
|
||||
}
|
||||
if ((chanpos < 0) && (e->ring.flexible))
|
||||
chanpos = pri_find_empty_chan(pri, 1);
|
||||
|
Reference in New Issue
Block a user