diff options
author | Mark Spencer <markster@digium.com> | 2004-05-16 20:42:58 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-05-16 20:42:58 +0000 |
commit | 95ef751780a5be94ab64a713da176763c476b329 (patch) | |
tree | 469cbfd628d7edfc2ea5d59ac2b8f86cac4a721a /apps/app_txtcidname.c | |
parent | e2dd1cc3daa5d52570f7d670f90aff5077f4926c (diff) |
Fix compile for old builds
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_txtcidname.c')
-rwxr-xr-x | apps/app_txtcidname.c | 3 |
1 files changed, 1 insertions, 2 deletions
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"); |