From 95ef751780a5be94ab64a713da176763c476b329 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 16 May 2004 20:42:58 +0000 Subject: Fix compile for old builds git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2987 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_txtcidname.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/app_txtcidname.c') diff --git a/apps/app_txtcidname.c b/apps/app_txtcidname.c index afb5109b7..9d7802904 100755 --- a/apps/app_txtcidname.c +++ b/apps/app_txtcidname.c @@ -53,10 +53,9 @@ static int txtcidname_exec(struct ast_channel *chan, void *data) { 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"); -- cgit v1.2.3