projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74075be
)
Continue with GET_DATA if no file is there (bug #3878)
author
Mark Spencer
<markster@digium.com>
Mon, 28 Mar 2005 07:08:39 +0000
(07:08 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 28 Mar 2005 07:08:39 +0000
(07:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5290
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_agi.c
patch
|
blob
|
history
diff --git
a/res/res_agi.c
b/res/res_agi.c
index
a5537d4
..
f6daabf
100755
(executable)
--- a/
res/res_agi.c
+++ b/
res/res_agi.c
@@
-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[])