aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
authorGravatar libec <libor.huspenina@gmail.com>2015-11-07 21:02:04 +0100
committerGravatar libec <libor.huspenina@gmail.com>2015-11-07 21:02:04 +0100
commit703a580f1fe599f2dde7fec6c6e9a51ca47da34d (patch)
tree9689aad3943a884922ab4c50b2ca92a5c73fcc50 /src/objc
parente8e41511e27e9b9f5d757bf2ac33871edd676ec4 (diff)
Adds error code to IMAPSession::customCommand. Renames sendCustomCommand to customCommand.
Diffstat (limited to 'src/objc')
-rwxr-xr-xsrc/objc/imap/MCOIMAPSession.mm2
1 files changed, 1 insertions, 1 deletions
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);
}