[Asterisk-cvs] asterisk/apps app_txtcidname.c,1.1,1.2

markster at lists.digium.com markster at lists.digium.com
Sun May 16 16:31:17 CDT 2004


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

Modified Files:
	app_txtcidname.c 
Log Message:
Fix compile for old builds


Index: app_txtcidname.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_txtcidname.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_txtcidname.c	16 May 2004 18:12:15 -0000	1.1
+++ app_txtcidname.c	16 May 2004 20:42:58 -0000	1.2
@@ -53,10 +53,9 @@
 {
 	int res=0;
 	char tech[80];
-	char txt[256];
+	char txt[256] = "";
 	char dest[80];
 
-	txt[0] = 0;
 	struct localuser *u;
 	if (!data || !strlen(data)) {
 		ast_log(LOG_WARNING, "TXTCIDName requires an argument (extension)\n");




More information about the svn-commits mailing list