1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Fixed array length calculation

This commit is contained in:
cketti 2012-03-23 04:20:29 +01:00
parent 8436e6b50b
commit 365f8e71e0

View File

@ -2085,7 +2085,7 @@ public class MessagingController implements Runnable {
PendingCommand command = new PendingCommand(); PendingCommand command = new PendingCommand();
command.command = PENDING_COMMAND_MOVE_OR_COPY_BULK_NEW; command.command = PENDING_COMMAND_MOVE_OR_COPY_BULK_NEW;
int length = 3 + uids.length; int length = 4 + uids.length;
command.arguments = new String[length]; command.arguments = new String[length];
command.arguments[0] = srcFolder; command.arguments[0] = srcFolder;
command.arguments[1] = destFolder; command.arguments[1] = destFolder;