diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 18:43:55 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 18:43:55 +0000 |
commit | 1960b058550155954be8274f16c2fb6ef876f264 (patch) | |
tree | a98a008a2c2b00e98424883712d0751f2be7498c /res | |
parent | 63de2aa782d665cff9eb7d9e1b03d79c463efda6 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@77783 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-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 56cad2aa2..208ddb268 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1110,7 +1110,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) |