Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Always set *error in URL connection task.

  • Loading branch information...
commit 086ff4301730960c26e6ab629b62fff5c730aa3b 1 parent 78afc79
Mark Probst authored February 21, 2012

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  Classes/MPURLConnectionTask.m
3  Classes/MPURLConnectionTask.m
@@ -184,6 +184,9 @@ - (id) runSynchronouslyWithError: (NSError**) _error
184 184
                           orPropagateError: theError
185 185
                                   fromTask: self];
186 186
         return nil;
  187
+    } else {
  188
+        if (_error != NULL)
  189
+            *_error = nil;
187 190
     }
188 191
 
189 192
     return [self resultDictionary];

0 notes on commit 086ff43

Please sign in to comment.
Something went wrong with that request. Please try again.