Merged revisions 10464 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Sun, 19 Feb 2006 17:27:39 +0000 (17:27 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sun, 19 Feb 2006 17:27:39 +0000 (17:27 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10464 | tilghman | 2006-02-19 11:26:31 -0600 (Sun, 19 Feb 2006) | 2 lines

Fix possible lack of initialization of useadsi

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10465 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 2920988..6e19c95 100644 (file)
@@ -4932,7 +4932,7 @@ static int vm_authenticate(struct ast_channel *chan, char *mailbox, int mailbox_
                           struct ast_vm_user *res_vmu, const char *context, const char *prefix,
                           int skipuser, int maxlogins, int silent)
 {
-       int useadsi, valid=0, logretries=0;
+       int useadsi=0, valid=0, logretries=0;
        char password[AST_MAX_EXTENSION]="", *passptr;
        struct ast_vm_user vmus, *vmu = NULL;