mail_daemon: IMAP remove trailing space in flags list
This fixes STORE FLAGS request and gmail Change-Id: I28c507244788e2e56e46bef428a465bd8d798d51 Reviewed-on: https://review.haiku-os.org/673 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
4b30bf30b8
commit
3a469b95be
@ -43,15 +43,15 @@ GenerateFlagString(uint32 flags)
|
||||
BString string;
|
||||
|
||||
if ((flags & IMAP::kSeen) != 0)
|
||||
PutFlag(string, "\\Seen ");
|
||||
PutFlag(string, "\\Seen");
|
||||
if ((flags & IMAP::kAnswered) != 0)
|
||||
PutFlag(string, "\\Answered ");
|
||||
PutFlag(string, "\\Answered");
|
||||
if ((flags & IMAP::kFlagged) != 0)
|
||||
PutFlag(string, "\\Flagged ");
|
||||
PutFlag(string, "\\Flagged");
|
||||
if ((flags & IMAP::kDeleted) != 0)
|
||||
PutFlag(string, "\\Deleted ");
|
||||
PutFlag(string, "\\Deleted");
|
||||
if ((flags & IMAP::kDraft) != 0)
|
||||
PutFlag(string, "\\Draft ");
|
||||
PutFlag(string, "\\Draft");
|
||||
|
||||
return string;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user