Small typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3233 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
74eca47dbf
commit
61bb6325b7
|
@ -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