[asterisk-commits] russell: trunk r82297 - in /trunk: ./ res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 12 16:57:31 CDT 2007


Author: russell
Date: Wed Sep 12 16:57:30 2007
New Revision: 82297

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82297
Log:
Merged revisions 82296 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82296 | russell | 2007-09-12 16:56:32 -0500 (Wed, 12 Sep 2007) | 3 lines

Fix a check of the wrong pointer, as pointed out by an XXX comment left in 
the code.  The problem was harmless, however.

........

Modified:
    trunk/   (props changed)
    trunk/res/res_agi.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=82297&r1=82296&r2=82297
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Wed Sep 12 16:57:30 2007
@@ -1201,7 +1201,7 @@
 	} else {
 		chan2 = chan;
 	}
-	if (chan) { /* XXX isn't this chan2 ? */
+	if (chan2) {
 		pbx_substitute_variables_helper(chan2, argv[3], tmp, sizeof(tmp) - 1);
 		ast_agi_fdprintf(agi->fd, "200 result=1 (%s)\n", tmp);
 	} else {




More information about the asterisk-commits mailing list