always get favicons from http://

This commit is contained in:
Mitchell Livingston 2009-09-26 16:31:00 +00:00
parent dcc1f53714
commit 2d073d9139
1 changed files with 2 additions and 2 deletions

View File

@ -904,10 +904,10 @@ typedef enum
//let's try getting the tracker address without using any subdomains
NSString * baseAddress;
if ([hostComponents count] > 1)
baseAddress = [NSString stringWithFormat: @"%@://%@.%@", [address scheme],
baseAddress = [NSString stringWithFormat: @"http://%@.%@",
[hostComponents objectAtIndex: [hostComponents count] - 2], [hostComponents lastObject]];
else
baseAddress = [NSString stringWithFormat: @"%@://%@", [address scheme], [hostComponents lastObject]];
baseAddress = [NSString stringWithFormat: @"http://%@", [hostComponents lastObject]];
id icon = [fTrackerIconCache objectForKey: baseAddress];
if (!icon && ![fTrackerIconLoading containsObject: baseAddress])