diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-25 18:20:18 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-25 18:20:18 +0000 |
commit | e42ecf03f23df756e9e2a4f71d3a8637bcff674f (patch) | |
tree | 33947d421e140ac1345484d94a8ff63f601d564e /res | |
parent | 65df373635c455a9dce3f88a00bffc427ea132b6 (diff) |
Merged revisions 71657 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71657 | tilghman | 2007-06-25 13:14:59 -0500 (Mon, 25 Jun 2007) | 10 lines
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
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71658 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_agi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 8dc878286..470d0599b 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1125,7 +1125,7 @@ static int handle_exec(struct ast_channel *chan, AGI *agi, int argc, char **argv } 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) |