Showing
2 changed files
with
3 additions
and
3 deletions
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | 24 | ||
25 | // Automatically set on build | 25 | // Automatically set on build |
26 | 26 | ||
27 | -NSString *ASIHTTPRequestVersion = @"v1.6.2-62 2010-06-23"; | 27 | +NSString *ASIHTTPRequestVersion = @"v1.6.2-63 2010-06-23"; |
28 | 28 | ||
29 | NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain"; | 29 | NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain"; |
30 | 30 | ||
@@ -2828,10 +2828,10 @@ static NSOperationQueue *sharedQueue = nil; | @@ -2828,10 +2828,10 @@ static NSOperationQueue *sharedQueue = nil; | ||
2828 | CFReadStreamSetClient((CFReadStreamRef)[self readStream], kCFStreamEventNone, NULL, NULL); | 2828 | CFReadStreamSetClient((CFReadStreamRef)[self readStream], kCFStreamEventNone, NULL, NULL); |
2829 | [connectionsLock lock]; | 2829 | [connectionsLock lock]; |
2830 | 2830 | ||
2831 | - if (shouldUpdateNetworkActivityIndicator && [self readStreamIsScheduled]) { | 2831 | + if ([self readStreamIsScheduled]) { |
2832 | runningRequestCount--; | 2832 | runningRequestCount--; |
2833 | #if TARGET_OS_IPHONE | 2833 | #if TARGET_OS_IPHONE |
2834 | - if (runningRequestCount == 0) { | 2834 | + if (shouldUpdateNetworkActivityIndicator && runningRequestCount == 0) { |
2835 | [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:NO]; | 2835 | [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:NO]; |
2836 | } | 2836 | } |
2837 | #endif | 2837 | #endif |
This diff was suppressed by a .gitattributes entry.
-
Please register or login to post a comment