1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

Fix use of key

This commit is contained in:
Mukund Sivaraman 2008-09-03 01:36:59 +00:00
parent b630712d4b
commit f69aa6faa6

View file

@ -494,7 +494,7 @@ updateScheduledLimits(gpointer data)
else else
{ {
const int begin_time = pref_int_get( PREF_KEY_SCHED_BEGIN ); const int begin_time = pref_int_get( PREF_KEY_SCHED_BEGIN );
const int end_time = pref_int_get( PREF_KEY_SCHED_BEGIN ); const int end_time = pref_int_get( PREF_KEY_SCHED_END );
time_t t; time_t t;
struct tm *tm; struct tm *tm;
int cur_time; int cur_time;
@ -510,7 +510,7 @@ updateScheduledLimits(gpointer data)
} }
else else
{ {
if ( (cur_time >= begin_time) || (cur_time <= end_time) ) if( (cur_time >= begin_time) || (cur_time <= end_time) )
in_sched_state = TRUE; in_sched_state = TRUE;
} }
} }