Changeset 3108


Ignore:
Timestamp:
Sep 20, 2007, 7:30:29 PM (14 years ago)
Author:
livings124
Message:

remove comments/glue code that disabled encryption, although it still won't build in xcode

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r3103 r3108  
    8080       
    8181        //set encryption
    82         //tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
     82        tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
    8383       
    8484        //actually set bandwidth limits
     
    342342- (void) setEncryptionRequired: (id) sender
    343343{
    344     //tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
     344    tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED);
    345345}
    346346
  • trunk/macosx/Torrent.m

    r3088 r3108  
    10401040                [dic setObject: [NSNumber numberWithFloat: peer->downloadFromRate] forKey: @"DL From Rate"];
    10411041           
    1042             [dic setObject: [NSNumber numberWithBool: /*peer->isEncrypted*/NO] forKey: @"Encryption"];
     1042            [dic setObject: [NSNumber numberWithBool: peer->isEncrypted] forKey: @"Encryption"];
    10431043           
    10441044            [dic setObject: [NSString stringWithCString: (char *) peer->client encoding: NSUTF8StringEncoding] forKey: @"Client"];
Note: See TracChangeset for help on using the changeset viewer.