[Asterisk-cvs] asterisk/res res_agi.c,1.10.2.3,1.10.2.4
russell at lists.digium.com
russell at lists.digium.com
Tue Apr 5 04:59:18 CDT 2005
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv6619/res
Modified Files:
Tag: v1-0
res_agi.c
Log Message:
keep going even if file not found with GET DATA (bug #3878)
Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.10.2.3
retrieving revision 1.10.2.4
diff -u -d -r1.10.2.3 -r1.10.2.4
--- res_agi.c 17 Jan 2005 01:36:48 -0000 1.10.2.3
+++ res_agi.c 5 Apr 2005 09:52:05 -0000 1.10.2.4
@@ -561,10 +561,7 @@
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[])
More information about the svn-commits
mailing list