[Asterisk-cvs] asterisk/res res_agi.c,1.12,1.13

citats at lists.digium.com citats at lists.digium.com
Sun Oct 17 01:16:29 CDT 2004


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

Modified Files:
	res_agi.c 
Log Message:
Remove late-night excuse for wasting cpu cycles.  revert previous res_agi change

Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- res_agi.c	13 Oct 2004 22:47:42 -0000	1.12
+++ res_agi.c	17 Oct 2004 05:16:22 -0000	1.13
@@ -827,7 +827,7 @@
 	app = pbx_findapp(argv[1]);
 
 	if (app) {
-		res = pbx_exec(chan, app, argv[2] ? argv[2] : NULL, 1);
+		res = pbx_exec(chan, app, argv[2], 1);
 	} else {
 		ast_log(LOG_WARNING, "Could not find application (%s)\n", argv[1]);
 		res = -2;




More information about the svn-commits mailing list