mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
maybe fix the mac build?
This commit is contained in:
parent
957732c5d0
commit
337bdc3253
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
tr_benc settings;
|
tr_benc settings;
|
||||||
tr_bencInitDict(&settings, 41);
|
tr_bencInitDict(&settings, 41);
|
||||||
const char * configDir = tr_getDefaultConfigDir("Transmission");
|
const char * configDir = tr_getDefaultConfigDir("Transmission");
|
||||||
tr_sessionGetDefaultSettings(configDir, &settings);
|
tr_sessionGetDefaultSettings(&settings);
|
||||||
|
|
||||||
const BOOL usesSpeedLimitSched = [fDefaults boolForKey: @"SpeedLimitAuto"];
|
const BOOL usesSpeedLimitSched = [fDefaults boolForKey: @"SpeedLimitAuto"];
|
||||||
if (!usesSpeedLimitSched)
|
if (!usesSpeedLimitSched)
|
||||||
|
|
Loading…
Reference in a new issue