diff options
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; } |