mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
Merged revisions 71750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71750 | tilghman | 2007-06-26 07:25:58 -0500 (Tue, 26 Jun 2007) | 2 lines Issue 10062 - Trying to move a message without selecting one first results in memory corruption ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6659,6 +6659,11 @@ static int vm_execmain(struct ast_channel *chan, void *data)
|
|||||||
cmd = ast_play_and_wait(chan, "vm-nomore");
|
cmd = ast_play_and_wait(chan, "vm-nomore");
|
||||||
break;
|
break;
|
||||||
case '9':
|
case '9':
|
||||||
|
if (vms.curmsg < 0 || vms.curmsg > vms.lastmsg) {
|
||||||
|
/* No message selected */
|
||||||
|
cmd = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (useadsi)
|
if (useadsi)
|
||||||
adsi_folders(chan, 1, "Save to folder...");
|
adsi_folders(chan, 1, "Save to folder...");
|
||||||
cmd = get_folder2(chan, "vm-savefolder", 1);
|
cmd = get_folder2(chan, "vm-savefolder", 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user