mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
Fix minor AGI buglet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -402,6 +402,8 @@ static int handle_getdata(struct ast_channel *chan, AGI *agi, int argc, char *ar
|
||||
return RESULT_SUCCESS;
|
||||
else if (res == 1)
|
||||
fdprintf(agi->fd, "200 result=%s (timeout)\n", data);
|
||||
else if (res < 0 )
|
||||
fdprintf(agi->fd, "200 result=-1\n");
|
||||
else
|
||||
fdprintf(agi->fd, "200 result=%s\n", data);
|
||||
if (res >= 0)
|
||||
|
Reference in New Issue
Block a user