From: Richard Mudgett Date: Tue, 15 Nov 2011 18:16:49 +0000 (+0000) Subject: Fix typo in sig_pri using wrong structure name. X-Git-Tag: 10.1.0-rc1~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93701ac8c133ec02f30592cf3a05e5ee2685232b;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@345371 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/sig_pri.c b/channels/sig_pri.c index 3944914479..c9948e0c3a 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,