Fix compile for old builds
authorMark Spencer <markster@digium.com>
Sun, 16 May 2004 20:42:58 +0000 (20:42 +0000)
committerMark Spencer <markster@digium.com>
Sun, 16 May 2004 20:42:58 +0000 (20:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2987 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_txtcidname.c

index afb5109..9d78029 100755 (executable)
@@ -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");