fix an uninitialized variable
authorLuigi Rizzo <rizzo@icir.org>
Mon, 30 Jun 2008 15:44:50 +0000 (15:44 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 30 Jun 2008 15:44:50 +0000 (15:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126571 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index f06ff02..e3f7391 100644 (file)
@@ -5135,6 +5135,7 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
        dir = vms->curdir;
        curmsg = vms->curmsg;
 
+       tmptxtfile[0] = '\0';
        while (!res && !valid_extensions) {
                int use_directory = 0;
                if (ast_test_flag((&globalflags), VM_DIRECFORWARD)) {