[asterisk-commits] jrose: branch 1.8 r313436 - in /branches/1.8: ./ channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 12 13:47:09 CDT 2011


Author: jrose
Date: Tue Apr 12 13:47:05 2011
New Revision: 313436

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=313436
Log:
merging stupid mistake fix

Modified:
    branches/1.8/   (props changed)
    branches/1.8/channels/chan_dahdi.c

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

Modified: branches/1.8/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_dahdi.c?view=diff&rev=313436&r1=313435&r2=313436
==============================================================================
--- branches/1.8/channels/chan_dahdi.c (original)
+++ branches/1.8/channels/chan_dahdi.c Tue Apr 12 13:47:05 2011
@@ -12062,13 +12062,14 @@
 	}
 
 	if (tmp) {
+		int chan_sig = conf->chan.sig;
+
 		/* If there are variables in tmp before it is updated to match the new config, clear them */
 		if (reloading && tmp->vars) {
 			ast_variables_destroy(tmp->vars);
 			tmp->vars = NULL;
 		}
 
-		int chan_sig = conf->chan.sig;
 
 		if (!here) {
 			/* Can only get here if this is a new channel interface being created. */




More information about the asterisk-commits mailing list