Committed by
Ben Copsey
Fix for crash caused by swapped NSLog arguments when debugging redirects
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -1731,7 +1731,7 @@ static BOOL isiPhoneOS2; | @@ -1731,7 +1731,7 @@ static BOOL isiPhoneOS2; | ||
| 1731 | [self setRequestCookies:[NSMutableArray array]]; | 1731 | [self setRequestCookies:[NSMutableArray array]]; |
| 1732 | 1732 | ||
| 1733 | #if DEBUG_REQUEST_STATUS | 1733 | #if DEBUG_REQUEST_STATUS |
| 1734 | - NSLog(@"Request will redirect (code: %hi): %@",self,[self responseStatusCode]); | 1734 | + NSLog(@"Request will redirect (code: %hi): %@",[self responseStatusCode],self); |
| 1735 | #endif | 1735 | #endif |
| 1736 | 1736 | ||
| 1737 | } | 1737 | } |
-
Please register or login to post a comment