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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 30 14:03:45 CDT 2008


Author: tilghman
Date: Wed Jul 30 14:03:44 2008
New Revision: 134480

URL: http://svn.digium.com/view/asterisk?view=rev&rev=134480
Log:
launch_netscript sometimes returns -1, which fails to set AGISTATUS.  Map
failure to -1, so that AGISTATUS is always set.
(closes issue #13199)
 Reported by: smw1218

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=134480&r1=134479&r2=134480
==============================================================================
--- branches/1.4/res/res_agi.c (original)
+++ branches/1.4/res/res_agi.c Wed Jul 30 14:03:44 2008
@@ -112,9 +112,9 @@
 #define AGI_PORT 4573
 
 enum agi_result {
+	AGI_RESULT_FAILURE = -1,
 	AGI_RESULT_SUCCESS,
 	AGI_RESULT_SUCCESS_FAST,
-	AGI_RESULT_FAILURE,
 	AGI_RESULT_HANGUP
 };
 




More information about the asterisk-commits mailing list