Ignore:
Timestamp:
Apr 3, 2009, 4:29:27 AM (13 years ago)
Author:
livings124
Message:

#1969 separate picking a random port from choosing a random port at startup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r8122 r8127  
    225225        tr_sessionGetDefaultSettings(&settings);
    226226       
    227         #warning how to work with schedule?
    228227        const BOOL usesSpeedLimitSched = [fDefaults boolForKey: @"SpeedLimitAuto"];
    229228        if (!usesSpeedLimitSched)
     
    255254       
    256255        const BOOL randomPort = [fDefaults boolForKey: @"RandomPort"];
    257         tr_bencDictAddBool(&settings, TR_PREFS_KEY_PEER_PORT_RANDOM_ENABLED, randomPort);
     256        tr_bencDictAddBool(&settings, TR_PREFS_KEY_PEER_PORT_RANDOM_ON_START, randomPort);
    258257        if (!randomPort)
    259258            tr_bencDictAddInt(&settings, TR_PREFS_KEY_PEER_PORT, [fDefaults integerForKey: @"BindPort"]);
Note: See TracChangeset for help on using the changeset viewer.