Permalink
Browse files

Always set *error in URL connection task.

  • Loading branch information...
1 parent 78afc79 commit 086ff4301730960c26e6ab629b62fff5c730aa3b @schani committed Feb 21, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Classes/MPURLConnectionTask.m
@@ -184,6 +184,9 @@ - (id) runSynchronouslyWithError: (NSError**) _error
orPropagateError: theError
fromTask: self];
return nil;
+ } else {
+ if (_error != NULL)
+ *_error = nil;
}
return [self resultDictionary];

0 comments on commit 086ff43

Please sign in to comment.