[Asterisk-cvs] asterisk/res res_agi.c,1.28,1.29

markster at lists.digium.com markster at lists.digium.com
Mon Mar 28 01:14:48 CST 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv973/res

Modified Files:
	res_agi.c 
Log Message:
Continue with GET_DATA if no file is there (bug #3878)


Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- res_agi.c	26 Mar 2005 05:33:48 -0000	1.28
+++ res_agi.c	28 Mar 2005 07:08:39 -0000	1.29
@@ -674,10 +674,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