[haiku-commits] haiku: hrev52510 - src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib

  • From: waddlesplash@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 5 Nov 2018 19:06:40 -0500 (EST)

hrev52510 adds 1 changeset to branch 'master'
old head: 4b30bf30b8515071d21a1fa79bfed76ad3019989
new head: 3a469b95bebf6f7e2f48d0e8b5f7955385350517
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=3a469b95bebf+%5E4b30bf30b851

----------------------------------------------------------------------------

3a469b95bebf: 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@xxxxxxxxx>

                                         [ Peter Kosyh <p.kosyh@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52510
Commit:      3a469b95bebf6f7e2f48d0e8b5f7955385350517
URL:         https://git.haiku-os.org/haiku/commit/?id=3a469b95bebf
Author:      Peter Kosyh <p.kosyh@xxxxxxxxx>
Date:        Mon Nov  5 13:08:30 2018 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Tue Nov  6 00:06:38 2018 UTC

----------------------------------------------------------------------------

1 file changed, 5 insertions(+), 5 deletions(-)
.../inbound_protocols/imap/imap_lib/Commands.cpp           | 10 +++++-----

----------------------------------------------------------------------------

diff --git 
a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Commands.cpp 
b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Commands.cpp
index ebe0431946..eac96f82a8 100644
--- a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Commands.cpp
+++ b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Commands.cpp
@@ -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;
 }


Other related posts:

  • » [haiku-commits] haiku: hrev52510 - src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib - waddlesplash