(Mac) yes another typo where setting the peer limit per-torrent used the global peer limit

This commit is contained in:
Mitchell Livingston 2009-08-17 01:16:19 +00:00
parent 29280941b0
commit d1d6cc4263
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ tr_session * fHandle;
[fDefaults setInteger: peersTotal forKey: @"PeersTotal"];
const uint16_t peersTorrent = tr_sessionGetPeerLimitPerTorrent(fHandle);
[fDefaults setInteger: peersTotal forKey: @"PeersTorrent"];
[fDefaults setInteger: peersTorrent forKey: @"PeersTorrent"];
//pex
const BOOL pex = tr_sessionIsPexEnabled(fHandle);