aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/mac/macExample/macExample/MCTMsgViewController.m
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-21 22:42:09 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-21 22:42:09 -0700
commit086ee3402442e1c020121725306d7cf649e34585 (patch)
tree055f547d8ea03d7c750726f900de09fdd88ccdec /example/mac/macExample/macExample/MCTMsgViewController.m
parenta7039a0587d56e3984e29386e42e2bb51ecd465f (diff)
Fixed #125: fixed crash in case a fetch is already in progress.
Diffstat (limited to 'example/mac/macExample/macExample/MCTMsgViewController.m')
-rw-r--r--example/mac/macExample/macExample/MCTMsgViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/mac/macExample/macExample/MCTMsgViewController.m b/example/mac/macExample/macExample/MCTMsgViewController.m
index dcb6f41c..f26b783f 100644
--- a/example/mac/macExample/macExample/MCTMsgViewController.m
+++ b/example/mac/macExample/macExample/MCTMsgViewController.m
@@ -76,7 +76,7 @@
NSLog(@"%@ is missing, fetching", partUniqueID);
if ([_pending containsObject:partUniqueID]) {
- return NULL;
+ return nil;
}
MCOIMAPPart * part = (MCOIMAPPart *) [_message partForUniqueID:partUniqueID];