aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-15 12:40:10 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-15 12:40:10 +0000
commit33d2d65ec36dd2fd9c0e11532b376993bf281573 (patch)
treefd156897b1f13c676cf0780e5418f62c1e1395af /apps/app_voicemail.c
parent3b5f459dde3a990b85e3909e73b09f4f46bc3b1b (diff)
VoicemailMain exits on any key, when the language is set to Italian, instead of
properly handling the key (issue 7353). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34242 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index c08a563e8..42ccef3c6 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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 */