summaryrefslogtreecommitdiff
path: root/apps/app_txtcidname.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-05-16 20:42:58 +0000
committerMark Spencer <markster@digium.com>2004-05-16 20:42:58 +0000
commit95ef751780a5be94ab64a713da176763c476b329 (patch)
tree469cbfd628d7edfc2ea5d59ac2b8f86cac4a721a /apps/app_txtcidname.c
parente2dd1cc3daa5d52570f7d670f90aff5077f4926c (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-xapps/app_txtcidname.c3
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");