mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Merge pull request #456 from asdil12/single_pkg_command
Fix sendCommand line splitup
This commit is contained in:
commit
47e09c92ea
@ -2779,10 +2779,8 @@ public class ImapStore extends Store {
|
|||||||
try {
|
try {
|
||||||
open();
|
open();
|
||||||
String tag = Integer.toString(mNextCommandTag++);
|
String tag = Integer.toString(mNextCommandTag++);
|
||||||
String commandToSend = tag + " " + command;
|
String commandToSend = tag + " " + command + "\r\n";
|
||||||
mOut.write(commandToSend.getBytes());
|
mOut.write(commandToSend.getBytes());
|
||||||
mOut.write('\r');
|
|
||||||
mOut.write('\n');
|
|
||||||
mOut.flush();
|
mOut.flush();
|
||||||
|
|
||||||
if (K9.DEBUG && K9.DEBUG_PROTOCOL_IMAP) {
|
if (K9.DEBUG && K9.DEBUG_PROTOCOL_IMAP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user