[asterisk-commits] tilghman: trunk r134481 - in /trunk: ./ res/res_agi.c

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


Author: tilghman
Date: Wed Jul 30 14:05:35 2008
New Revision: 134481

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

........
r134480 | tilghman | 2008-07-30 14:03:44 -0500 (Wed, 30 Jul 2008) | 5 lines

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:
    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=134481&r1=134480&r2=134481
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Wed Jul 30 14:05:35 2008
@@ -100,10 +100,10 @@
 #define AGI_PORT 4573
 
 enum agi_result {
+	AGI_RESULT_FAILURE = -1,
 	AGI_RESULT_SUCCESS,
 	AGI_RESULT_SUCCESS_FAST,
 	AGI_RESULT_SUCCESS_ASYNC,
-	AGI_RESULT_FAILURE,
 	AGI_RESULT_NOTFOUND,
 	AGI_RESULT_HANGUP,
 };




More information about the asterisk-commits mailing list