diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-07-30 18:45:09 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-07-30 18:45:09 +0000 |
commit | 67bd05d9d178e63d197105f744ada955b96906fc (patch) | |
tree | 5518454e1c40636eafa35c7be10cd159bbc931fc /res/res_agi.c | |
parent | a2fc80d4a685f92fd1c85fbd7313975b50c4110a (diff) |
Merged revisions 77783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r77783 | tilghman | 2007-07-30 13:43:55 -0500 (Mon, 30 Jul 2007) | 10 lines
Merged revisions 77782 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r77782 | tilghman | 2007-07-30 13:40:54 -0500 (Mon, 30 Jul 2007) | 2 lines
Revert change in revision 71656, even though it fixed a bug, because many people were depending upon the (broken) behavior.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_agi.c')
-rw-r--r-- | res/res_agi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index eedad4213..f37c09d2d 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1103,7 +1103,8 @@ static int handle_exec(struct ast_channel *chan, AGI *agi, int argc, char **argv } fdprintf(agi->fd, "200 result=%d\n", res); - return res >= 0 ? RESULT_SUCCESS : RESULT_FAILURE; + /* Even though this is wrong, users are depending upon this result. */ + return res; } static int handle_setcallerid(struct ast_channel *chan, AGI *agi, int argc, char **argv) |