summaryrefslogtreecommitdiff
path: root/channels/sig_pri.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2011-11-15 18:18:11 +0000
committerRichard Mudgett <rmudgett@digium.com>2011-11-15 18:18:11 +0000
commitbd4f81b51f73e89292149672df0572af5bb4c75f (patch)
tree46c332073f2b7963dfb2b5e3a61969a37bc23259 /channels/sig_pri.c
parent9e726d9cb4b707909e14be72a4b7d5d236e13aa0 (diff)
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 ........ Merged revisions 345370 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 345371 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@345375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.c')
-rw-r--r--channels/sig_pri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sig_pri.c b/channels/sig_pri.c
index 394491447..c9948e0c3 100644
--- a/channels/sig_pri.c
+++ b/channels/sig_pri.c
@@ -5692,7 +5692,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,