aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar pfennema <paul@bryce.demon.nl>2013-12-07 18:03:36 +0100
committerGravatar pfennema <paul@bryce.demon.nl>2013-12-07 18:03:36 +0100
commitcd33a934b00c52cef1bcbdbb0bb6132bfa29ce81 (patch)
tree4859dac5105d3f1ea5b83e074b127626e35c6c61 /src/core
parentd131424279c8b47164a8b1efa292a77300152b19 (diff)
mDate in searchExpression is not copied
Diffstat (limited to 'src/core')
-rw-r--r--src/core/imap/MCIMAPSearchExpression.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/imap/MCIMAPSearchExpression.cc b/src/core/imap/MCIMAPSearchExpression.cc
index 61c052ce..540222a3 100644
--- a/src/core/imap/MCIMAPSearchExpression.cc
+++ b/src/core/imap/MCIMAPSearchExpression.cc
@@ -9,6 +9,7 @@ void IMAPSearchExpression::init()
mValue = NULL;
mLongNumber = 0;
mUids = NULL;
+ mDate = 0;
mLeftExpression = NULL;
mRightExpression = NULL;
}
@@ -23,6 +24,7 @@ IMAPSearchExpression::IMAPSearchExpression(IMAPSearchExpression * other)
init();
mKind = other->mKind;
mLongNumber = other->mLongNumber;
+ mDate = other->mDate;
MC_SAFE_REPLACE_COPY(String, mHeader, other->mHeader);
MC_SAFE_REPLACE_COPY(String, mValue, other->mValue);
MC_SAFE_REPLACE_COPY(IndexSet, mUids, other->mUids);