mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 22:30:28 +00:00
Fix typo in sig_pri using wrong structure name.
It is fortunate that the typo does not alter generated code since the
e->restart.channel and e->ring.channel members are in the same position.
(closes issue ASTERISK-18868)
Reported by: zvision
Patches:
sig_pri.c.diff (License #5755) patch uploaded by zvision
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@345370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4841,7 +4841,7 @@ static void *pri_dchannel(void *vpri)
|
||||
}
|
||||
break;
|
||||
case PRI_EVENT_RESTART:
|
||||
if (e->restart.channel > -1 && PRI_CHANNEL(e->ring.channel) != 0xFF) {
|
||||
if (e->restart.channel > -1 && PRI_CHANNEL(e->restart.channel) != 0xFF) {
|
||||
chanpos = pri_find_principle(pri, e->restart.channel, NULL);
|
||||
if (chanpos < 0)
|
||||
ast_log(LOG_WARNING,
|
||||
|
||||
Reference in New Issue
Block a user