aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
authorGravatar Pushkar Singh <pushkar@hothouselabs.com>2013-05-28 20:59:04 -0700
committerGravatar Pushkar Singh <pushkar@hothouselabs.com>2013-05-28 20:59:04 -0700
commit0b9d6179767acf9cb5ef91370492cf3188d38e5a (patch)
tree5c2f3c5facb7b8bb2eb557199a82caa929ba8ad6 /src/objc
parenteb0daeaf247c11df6ba05b869a36b129d05e99a9 (diff)
Fixed the crashes while using the MCIMAPSearchExpression, mKind was not set and missing mco_mcObject function
Diffstat (limited to 'src/objc')
-rw-r--r--src/objc/imap/MCOIMAPSearchExpression.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPSearchExpression.mm b/src/objc/imap/MCOIMAPSearchExpression.mm
index 18e5fdc7..ecc44ba6 100644
--- a/src/objc/imap/MCOIMAPSearchExpression.mm
+++ b/src/objc/imap/MCOIMAPSearchExpression.mm
@@ -37,6 +37,11 @@
return [[[self alloc] initWithMCExpression:expr] autorelease];
}
+- (mailcore::Object *) mco_mcObject
+{
+ return _nativeExpr;
+}
+
- (id) initWithMCExpression:(mailcore::IMAPSearchExpression *)expr
{
self = [super init];