1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-02 14:02:17 -05: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 { try {
ImapSearcher searcher = new ImapSearcher() { ImapSearcher searcher = new ImapSearcher() {
public List<ImapResponse> search() throws IOException, MessagingException { public List<ImapResponse> search() throws IOException, MessagingException {
return executeSimpleCommand(String.format("UID SEARCH *:* ")); return executeSimpleCommand("UID SEARCH *:*");
} }
}; };
Message[] messages = search(searcher, null); Message[] messages = search(searcher, null);