1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

maybe fix the mac build?

This commit is contained in:
Jordan Lee 2011-03-21 16:28:44 +00:00
parent 957732c5d0
commit 337bdc3253

View file

@ -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)