aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
authorGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:16:08 -0800
committerGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:16:08 -0800
commit14689b1adde8773f4f80a3242fc7cd770af5d900 (patch)
tree60000a851b6b575eaa1c30efc89a07d2e0cd2081 /src/objc
parent70979718086b989893ab963b0878ae050ca7fa77 (diff)
Fixed loop.
Diffstat (limited to 'src/objc')
-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];
}