[asterisk-commits] jpeeler: trunk r123166 - /trunk/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 16 16:15:13 CDT 2008


Author: jpeeler
Date: Mon Jun 16 16:15:12 2008
New Revision: 123166

URL: http://svn.digium.com/view/asterisk?view=rev&rev=123166
Log:
Fix some variables that were forgotten to be renamed, related to 117658

Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=123166&r1=123165&r2=123166
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Mon Jun 16 16:15:12 2008
@@ -8121,8 +8121,8 @@
 				}
 				if (conf->is_sig_auto)
 					chan_sig = sigtype_to_signalling(p.sigtype);
-				if (p.sigtype != (conf->chan.sig & 0x3ffff)) {
-					ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(conf->chan.sig), sig2str(p.sigtype));
+				if (p.sigtype != (chan_sig & 0x3ffff)) {
+					ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(chan_sig), sig2str(p.sigtype));
 					destroy_dahdi_pvt(&tmp);
 					return NULL;
 				}




More information about the asterisk-commits mailing list