1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Remove trailing space from IMAP command

This could be the cause of the error reported in issue 3089.
This commit is contained in:
cketti 2011-03-04 03:36:52 +01:00
parent 5a22137d54
commit 171711fa9c

View File

@ -908,7 +908,7 @@ public class ImapStore extends Store {
try {
ImapSearcher searcher = new ImapSearcher() {
public List<ImapResponse> search() throws IOException, MessagingException {
return executeSimpleCommand(String.format("UID SEARCH *:* "));
return executeSimpleCommand("UID SEARCH *:*");
}
};
Message[] messages = search(searcher, null);