diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 18:40:54 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 18:40:54 +0000 |
commit | af2a61d0b20364c25f73bbf1ed5f3ed82e2d6156 (patch) | |
tree | c2aaf11748bc7b53b7aa2508c6b09f90a1b11dc0 /res | |
parent | 68a0e62615f25610fe0ccb2f5a6f97e526928c81 (diff) |
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.2@77782 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 8a142c14c..53cafd58c 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) |