mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 13:41:17 +00:00
nothing exciting
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
else
|
||||
[fWebSeeds removeAllObjects];
|
||||
|
||||
NSUInteger known = 0, connected = 0, tracker = 0, incoming = 0, cache = 0, lds = 0, pex = 0, dht = 0, ltep = 0,
|
||||
NSUInteger known = 0, connected = 0, tracker = 0, incoming = 0, cache = 0, lpd = 0, pex = 0, dht = 0, ltep = 0,
|
||||
toUs = 0, fromUs = 0;
|
||||
BOOL anyActive = false;
|
||||
for (Torrent * torrent in fTorrents)
|
||||
@@ -157,7 +157,7 @@
|
||||
tracker += [torrent totalPeersTracker];
|
||||
incoming += [torrent totalPeersIncoming];
|
||||
cache += [torrent totalPeersCache];
|
||||
lds += [torrent totalPeersLocal];
|
||||
lpd += [torrent totalPeersLocal];
|
||||
pex += [torrent totalPeersPex];
|
||||
dht += [torrent totalPeersDHT];
|
||||
ltep += [torrent totalPeersLTEP];
|
||||
@@ -192,9 +192,9 @@
|
||||
if (cache > 0)
|
||||
[fromComponents addObject: [NSString stringWithFormat:
|
||||
NSLocalizedString(@"%d cache", "Inspector -> Peers tab -> peers"), cache]];
|
||||
if (lds > 0)
|
||||
if (lpd > 0)
|
||||
[fromComponents addObject: [NSString stringWithFormat:
|
||||
NSLocalizedString(@"%d local discovery", "Inspector -> Peers tab -> peers"), lds]];
|
||||
NSLocalizedString(@"%d local discovery", "Inspector -> Peers tab -> peers"), lpd]];
|
||||
if (pex > 0)
|
||||
[fromComponents addObject: [NSString stringWithFormat:
|
||||
NSLocalizedString(@"%d PEX", "Inspector -> Peers tab -> peers"), pex]];
|
||||
|
||||
Reference in New Issue
Block a user