[svn-commits] rmudgett: branch 10 r345371 - in /branches/10: ./ channels/sig_pri.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 15 12:16:50 CST 2011


Author: rmudgett
Date: Tue Nov 15 12:16:49 2011
New Revision: 345371

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=345371
Log:
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

Modified:
    branches/10/   (props changed)
    branches/10/channels/sig_pri.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/sig_pri.c?view=diff&rev=345371&r1=345370&r2=345371
==============================================================================
--- branches/10/channels/sig_pri.c (original)
+++ branches/10/channels/sig_pri.c Tue Nov 15 12:16:49 2011
@@ -5692,7 +5692,7 @@
 				}
 				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,




More information about the svn-commits mailing list