]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
VoicemailMain exits on any key, when the language is set to Italian, instead of
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 15 Jun 2006 12:40:10 +0000 (12:40 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 15 Jun 2006 12:40:10 +0000 (12:40 +0000)
properly handling the key (issue 7353).

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

apps/app_voicemail.c

index c08a563e8e34e11be7cd491e60665a1590c5deb6..42ccef3c6d877f7ab566c0e0f8456562d324664e 100644 (file)
@@ -4121,7 +4121,7 @@ static int vm_intro_it(struct ast_channel *chan, struct vm_state *vms)
                        ast_play_and_wait(chan, "vm-vecchi") ||
                        ast_play_and_wait(chan, "vm-messages");
        }
-       return res ? -1 : 0;
+       return res;
 }
 
 /* SWEDISH syntax */