mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
remove comments/glue code that disabled encryption, although it still won't build in xcode
This commit is contained in:
parent
ad71027cbb
commit
3677ac13d0
3 changed files with 3 additions and 3 deletions
BIN
macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -79,7 +79,7 @@
|
|||
tr_natTraversalEnable(fHandle, [fDefaults boolForKey: @"NatTraversal"]);
|
||||
|
||||
//set encryption
|
||||
//tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
|
||||
tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
|
||||
|
||||
//actually set bandwidth limits
|
||||
[self applySpeedSettings: nil];
|
||||
|
@ -341,7 +341,7 @@
|
|||
|
||||
- (void) setEncryptionRequired: (id) sender
|
||||
{
|
||||
//tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
|
||||
tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
|
||||
}
|
||||
|
||||
- (void) applySpeedSettings: (id) sender
|
||||
|
|
|
@ -1039,7 +1039,7 @@ static int static_lastid = 0;
|
|||
if (peer->isUploading)
|
||||
[dic setObject: [NSNumber numberWithFloat: peer->downloadFromRate] forKey: @"DL From Rate"];
|
||||
|
||||
[dic setObject: [NSNumber numberWithBool: /*peer->isEncrypted*/NO] forKey: @"Encryption"];
|
||||
[dic setObject: [NSNumber numberWithBool: peer->isEncrypted] forKey: @"Encryption"];
|
||||
|
||||
[dic setObject: [NSString stringWithCString: (char *) peer->client encoding: NSUTF8StringEncoding] forKey: @"Client"];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue