From 703a580f1fe599f2dde7fec6c6e9a51ca47da34d Mon Sep 17 00:00:00 2001 From: libec Date: Sat, 7 Nov 2015 21:02:04 +0100 Subject: Adds error code to IMAPSession::customCommand. Renames sendCustomCommand to customCommand. --- src/objc/imap/MCOIMAPSession.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/objc') diff --git a/src/objc/imap/MCOIMAPSession.mm b/src/objc/imap/MCOIMAPSession.mm index 07e140b5..362227f6 100755 --- a/src/objc/imap/MCOIMAPSession.mm +++ b/src/objc/imap/MCOIMAPSession.mm @@ -436,7 +436,7 @@ MCO_OBJC_SYNTHESIZE_SCALAR(dispatch_queue_t, dispatch_queue_t, setDispatchQueue, } - (MCOIMAPCustomCommandOperation *) customCommandOperation:(NSString *)command { - IMAPCustomCommandOperation *customOp = MCO_NATIVE_INSTANCE->sendCustomCommand([command mco_mcString], false); + IMAPCustomCommandOperation *customOp = MCO_NATIVE_INSTANCE->customCommand([command mco_mcString], false); return MCO_TO_OBJC_OP(customOp); } -- cgit v1.2.3