diff options
author | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2015-09-08 12:07:42 -0700 |
---|---|---|
committer | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2015-09-08 12:07:42 -0700 |
commit | d71dd9985dbaa716f59ca5bc1b533feeb032ca38 (patch) | |
tree | 695caec5544121b51001208475e71ac2e229a7a3 /src/objc/rfc822 | |
parent | 00756157e51657e8c36ec13b0fc5d1300c58a462 (diff) |
Fixed warnings
Diffstat (limited to 'src/objc/rfc822')
-rw-r--r-- | src/objc/rfc822/MCOAttachment.mm | 2 | ||||
-rw-r--r-- | src/objc/rfc822/MCOMessageBuilder.mm | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/objc/rfc822/MCOAttachment.mm b/src/objc/rfc822/MCOAttachment.mm index afaf96af..77a642d6 100644 --- a/src/objc/rfc822/MCOAttachment.mm +++ b/src/objc/rfc822/MCOAttachment.mm @@ -35,7 +35,7 @@ - (id) init { mailcore::Attachment * attachment = new mailcore::Attachment(); - self = [self initWithMCPart:attachment]; + self = [super initWithMCPart:attachment]; attachment->release(); return self; diff --git a/src/objc/rfc822/MCOMessageBuilder.mm b/src/objc/rfc822/MCOMessageBuilder.mm index 090fc99d..3531caf9 100644 --- a/src/objc/rfc822/MCOMessageBuilder.mm +++ b/src/objc/rfc822/MCOMessageBuilder.mm @@ -26,7 +26,8 @@ - (id)init { mailcore::MessageBuilder * message = new mailcore::MessageBuilder(); - self = [super initWithMCMessage:message]; + self = [super init]; + [self setMCMessage:message]; MC_SAFE_RELEASE(message); return self; } |