[asterisk-commits] tilghman: branch 1.4 r71657 - in /branches/1.4: ./ res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 25 13:15:00 CDT 2007


Author: tilghman
Date: Mon Jun 25 13:14:59 2007
New Revision: 71657

URL: http://svn.digium.com/view/asterisk?view=rev&rev=71657
Log:
Merged revisions 71656 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r71656 | tilghman | 2007-06-25 13:12:37 -0500 (Mon, 25 Jun 2007) | 2 lines

Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/res/res_agi.c

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

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=71657&r1=71656&r2=71657
==============================================================================
--- branches/1.4/res/res_agi.c (original)
+++ branches/1.4/res/res_agi.c Mon Jun 25 13:14:59 2007
@@ -1110,7 +1110,7 @@
 	}
 	fdprintf(agi->fd, "200 result=%d\n", res);
 
-	return res;
+	return res >= 0 ? RESULT_SUCCESS : RESULT_FAILURE;
 }
 
 static int handle_setcallerid(struct ast_channel *chan, AGI *agi, int argc, char **argv)




More information about the asterisk-commits mailing list