]> granicus.if.org Git - transmission/commitdiff
always get favicons from http://
authorMitchell Livingston <livings124@transmissionbt.com>
Sat, 26 Sep 2009 16:31:00 +0000 (16:31 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sat, 26 Sep 2009 16:31:00 +0000 (16:31 +0000)
macosx/InfoWindowController.m

index 1d1b5927ac23f870eab26d7cd1edc4f761682f71..fc874ba7f3939b3d5d2f0e7c18e61f723be2a97d 100644 (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])