mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 17:18:50 -05:00
Fixed array length calculation
This commit is contained in:
parent
8436e6b50b
commit
365f8e71e0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user