From 07a3a8eb717f1f2051c52d1dd5403b07d846f562 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 7 Jan 2006 08:52:57 +0000 Subject: [PATCH] Inverted flags and mode in deleteMessage[s]() (thanks to Benjamin Biron). --- src/net/maildir/maildirFolder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net/maildir/maildirFolder.cpp b/src/net/maildir/maildirFolder.cpp index 1c9449dc..9a101e61 100644 --- a/src/net/maildir/maildirFolder.cpp +++ b/src/net/maildir/maildirFolder.cpp @@ -618,21 +618,21 @@ void maildirFolder::rename(const folder::path& newPath) void maildirFolder::deleteMessage(const int num) { // Mark messages as deleted - setMessageFlags(num, num, message::FLAG_MODE_ADD, message::FLAG_DELETED); + setMessageFlags(num, num, message::FLAG_DELETED, message::FLAG_MODE_ADD); } void maildirFolder::deleteMessages(const int from, const int to) { // Mark messages as deleted - setMessageFlags(from, to, message::FLAG_MODE_ADD, message::FLAG_DELETED); + setMessageFlags(from, to, message::FLAG_DELETED, message::FLAG_MODE_ADD); } void maildirFolder::deleteMessages(const std::vector & nums) { // Mark messages as deleted - setMessageFlags(nums, message::FLAG_MODE_ADD, message::FLAG_DELETED); + setMessageFlags(nums, message::FLAG_DELETED, message::FLAG_MODE_ADD); }