mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 22:30:28 +00:00
issue #5663 again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
2005-11-11 Kevin P. Fleming <kpfleming@digium.com>
|
||||
|
||||
* apps/app_voicemail.c (close_mailbox): correct previous commit (issue #5663)
|
||||
|
||||
* channels/chan_sip.c (transmit_invite): remove useless debug message; don't try to add OSP tokens to OPTIONS pings
|
||||
|
||||
* apps/app_voicemail.c (close_mailbox): properly remove deleted messages at mailbox close time (issue #5663)
|
||||
|
||||
@@ -3904,7 +3904,7 @@ static int close_mailbox(struct vm_state *vms, struct ast_vm_user *vmu)
|
||||
}
|
||||
|
||||
/* Delete ALL remaining messages */
|
||||
nummsg = x;
|
||||
nummsg = x - 1;
|
||||
for (x = vms->curmsg + 1; x <= nummsg; x++) {
|
||||
make_file(vms->fn, sizeof(vms->fn), vms->curdir, x);
|
||||
if (EXISTS(vms->curdir, x, vms->fn, NULL))
|
||||
|
||||
Reference in New Issue
Block a user