mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Continue with GET_DATA if no file is there (bug #3878)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -674,10 +674,7 @@ static int handle_getdata(struct ast_channel *chan, AGI *agi, int argc, char *ar
|
||||
fdprintf(agi->fd, "200 result=-1\n");
|
||||
else
|
||||
fdprintf(agi->fd, "200 result=%s\n", data);
|
||||
if (res >= 0)
|
||||
return RESULT_SUCCESS;
|
||||
else
|
||||
return RESULT_FAILURE;
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
static int handle_setcontext(struct ast_channel *chan, AGI *agi, int argc, char *argv[])
|
||||
|
||||
Reference in New Issue
Block a user