aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/objc/imap/MCOFetchFoldersOperation.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objc/imap/MCOFetchFoldersOperation.mm b/src/objc/imap/MCOFetchFoldersOperation.mm
index 8189d294..62c40dec 100644
--- a/src/objc/imap/MCOFetchFoldersOperation.mm
+++ b/src/objc/imap/MCOFetchFoldersOperation.mm
@@ -32,7 +32,7 @@ using namespace mailcore;
if (op->error() == ErrorNone) {
NSMutableArray *nsfolders = [NSMutableArray array];
Array *folders = op->folders();
- for (int i = 0 ; i < folders->count(); folders++) {
+ for (int i = 0 ; i < folders->count(); i++) {
NSString *folder = [NSString mco_stringWithMCObject:folders->objectAtIndex(i)];
[nsfolders addObject:folder];
}