Revision 9990166e pithos-macos/PithosSharingAccountsNode.m
b/pithos-macos/PithosSharingAccountsNode.m | ||
---|---|---|
184 | 184 |
|
185 | 185 |
- (void)sharingAccountsRequestFinished:(ASIPithosRequest *)request { |
186 | 186 |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; |
187 |
NSLog(@"List sharing accounts finished: %@", [sharingAccountsRequest url]);
|
|
188 |
NSLog(@"Cached: %d", [sharingAccountsRequest didUseCachedResponse]);
|
|
187 |
DLog(@"List sharing accounts finished: %@", [sharingAccountsRequest url]);
|
|
188 |
DLog(@"Cached: %d", [sharingAccountsRequest didUseCachedResponse]);
|
|
189 | 189 |
if (sharingAccountsRequest.responseStatusCode == 200) { |
190 | 190 |
NSArray *someSharingAccounts = [sharingAccountsRequest sharingAccounts]; |
191 | 191 |
if (sharingAccounts == nil) { |
... | ... | |
196 | 196 |
if ([someSharingAccounts count] < 10000) { |
197 | 197 |
if (!sharingAccountsRequest.didUseCachedResponse || ([sharingAccounts count] != [someSharingAccounts count]) || !children) { |
198 | 198 |
// Save new children |
199 |
NSLog(@"using newChildren");
|
|
199 |
DLog(@"using newChildren");
|
|
200 | 200 |
newChildren = [[NSMutableArray alloc] init]; |
201 | 201 |
NSMutableIndexSet *keptNodes = [NSMutableIndexSet indexSet]; |
202 | 202 |
for (ASIPithosAccount *account in sharingAccounts) { |
Also available in: Unified diff