diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-16 20:42:58 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-16 20:42:58 +0000 |
commit | ec4839fcb5cd04dce7c2670da84974f29d3f15fd (patch) | |
tree | 469cbfd628d7edfc2ea5d59ac2b8f86cac4a721a /apps/app_txtcidname.c | |
parent | 39b00dbd3960cc622ff48f9905368d23bb08afc3 (diff) |
Fix compile for old builds
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2987 f38db490-d61c-443f-a65b-d21fe96a405b
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"); |