1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

consistency

This commit is contained in:
Mitchell Livingston 2007-03-31 20:19:19 +00:00
parent dbd4fdc61c
commit 37ff93ecee
2 changed files with 4 additions and 4 deletions

View file

@ -182,7 +182,7 @@
- (float) swarmSpeed; - (float) swarmSpeed;
- (BOOL) pex; - (BOOL) pex;
- (void) setPex: (BOOL) set; - (void) setPex: (BOOL) setting;
- (NSNumber *) orderValue; - (NSNumber *) orderValue;
- (void) setOrderValue: (int) orderValue; - (void) setOrderValue: (int) orderValue;

View file

@ -1097,12 +1097,12 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
return fPex; return fPex;
} }
- (void) setPex: (BOOL) pex - (void) setPex: (BOOL) setting
{ {
if (![self privateTorrent]) if (![self privateTorrent])
{ {
fPex = pex; fPex = setting;
tr_torrentDisablePex(fHandle, !pex); tr_torrentDisablePex(fHandle, !setting);
} }
} }