Changeset 11104


Ignore:
Timestamp:
Aug 3, 2010, 11:54:02 PM (12 years ago)
Author:
livings124
Message:

#3840 LPD does not initiate on startup

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r11046 r11104  
    304304                                                                    stringByExpandingTildeInPath] UTF8String]);
    305305        tr_bencDictAddBool(&settings, TR_PREFS_KEY_INCOMPLETE_DIR_ENABLED, [fDefaults boolForKey: @"UseIncompleteDownloadFolder"]);
    306        
     306        tr_bencDictAddBool(&settings, TR_PREFS_KEY_LPD_ENABLED, [fDefaults boolForKey: @"LocalPeerDiscoveryGlobal"]);
    307307        tr_bencDictAddInt(&settings, TR_PREFS_KEY_MSGLEVEL, TR_MSG_DBG);
    308308        tr_bencDictAddInt(&settings, TR_PREFS_KEY_PEER_LIMIT_GLOBAL, [fDefaults integerForKey: @"PeersTotal"]);
  • trunk/macosx/PrefsController.m

    r11046 r11104  
    11721172    //dht
    11731173    const BOOL lpd = tr_sessionIsLPDEnabled(fHandle);
    1174     [fDefaults setBool: lpd forKey: @"LocalPeerDiscovery"];
     1174    [fDefaults setBool: lpd forKey: @"LocalPeerDiscoveryGlobal"];
    11751175   
    11761176    //auto start
Note: See TracChangeset for help on using the changeset viewer.