diff options
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_agi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 611b92cf4..df1d7a6a0 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -413,11 +413,10 @@ static int handle_recvtext(struct ast_channel *chan, AGI *agi, int argc, char *a if (buf) { fdprintf(agi->fd, "200 result=1 (%s)\n", buf); free(buf); - return RESULT_SUCCESS; } else { fdprintf(agi->fd, "200 result=-1\n"); - return RESULT_FAILURE; } + return RESULT_SUCCESS; } static int handle_tddmode(struct ast_channel *chan, AGI *agi, int argc, char *argv[]) |