nothing exciting

This commit is contained in:
Mitchell Livingston
2010-05-19 23:08:14 +00:00
parent 697b9ef394
commit 306cdead06
4 changed files with 18 additions and 22 deletions

View File

@@ -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]];