[Asterisk-cvs] asterisk app.c,1.24,1.25

markster at lists.digium.com markster at lists.digium.com
Thu Sep 2 09:49:45 CDT 2004


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

Modified Files:
	app.c 
Log Message:
Fix both app_read and underlying read issue (bug #2352)


Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- app.c	9 Jul 2004 10:08:09 -0000	1.24
+++ app.c	2 Sep 2004 13:52:58 -0000	1.25
@@ -37,6 +37,8 @@
 {
 	int res,to,fto;
 	/* XXX Merge with full version? XXX */
+	if (maxlen)
+		s[0] = '\0';
 	if (prompt) {
 		res = ast_streamfile(c, prompt, c->language);
 		if (res < 0)




More information about the svn-commits mailing list