summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-07-30 19:05:35 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-07-30 19:05:35 +0000
commitb6de2967df084fcfa81b1315767f253dc036ab61 (patch)
tree2531f2df4597ecbf8fda7a66a4c3c58669cdf574 /res
parent8b310d67b133c27c25526d78ae088de367a9e153 (diff)
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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r--res/res_agi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 0f59855f5..1de15c59a 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -100,10 +100,10 @@ static int agidebug = 0;
#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,
};