diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-31 21:48:53 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-31 21:48:53 +0000 |
commit | b49a49e965b0f34356e6bff5129d5f82000f8ada (patch) | |
tree | 076af143fbc937234f7054cf2866173f3d0eacdf /apps | |
parent | 95644cac4d2ccecdd2ddcfa8a1c0698856e9dd70 (diff) |
Merged revisions 112069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r112069 | qwell | 2008-03-31 16:48:30 -0500 (Mon, 31 Mar 2008) | 13 lines
Merged revisions 112068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112068 | qwell | 2008-03-31 16:48:05 -0500 (Mon, 31 Mar 2008) | 5 lines
Fix a silly infinite loop when choosing an invalid option.
(closes issue #12315)
Reported by: jmls
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@112070 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 7a35c64d8..a949856bd 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6608,6 +6608,7 @@ static int vm_options(struct ast_channel *chan, struct ast_vm_user *vmu, struct cmd = 't'; break; default: + cmd = 0; snprintf(prefile, sizeof(prefile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, vms->username); if (ast_fileexists(prefile, NULL, NULL)) { cmd = ast_play_and_wait(chan, "vm-tmpexists"); |