[asterisk-commits] russell: branch 1.4 r82296 - /branches/1.4/res/res_agi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 12 16:56:32 CDT 2007
Author: russell
Date: Wed Sep 12 16:56:32 2007
New Revision: 82296
URL: http://svn.digium.com/view/asterisk?view=rev&rev=82296
Log:
Fix a check of the wrong pointer, as pointed out by an XXX comment left in
the code. The problem was harmless, however.
Modified:
branches/1.4/res/res_agi.c
Modified: branches/1.4/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_agi.c?view=diff&rev=82296&r1=82295&r2=82296
==============================================================================
--- branches/1.4/res/res_agi.c (original)
+++ branches/1.4/res/res_agi.c Wed Sep 12 16:56:32 2007
@@ -1206,7 +1206,7 @@
} else {
chan2 = chan;
}
- if (chan) { /* XXX isn't this chan2 ? */
+ if (chan2) {
pbx_substitute_variables_helper(chan2, argv[3], tmp, sizeof(tmp) - 1);
fdprintf(agi->fd, "200 result=1 (%s)\n", tmp);
} else {
More information about the asterisk-commits
mailing list