1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

Fix bug in schedule calculation

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

View file

@ -503,7 +503,7 @@ updateScheduledLimits(gpointer data)
tm = localtime (&t);
cur_time = (tm->tm_hour * 60) + tm->tm_min;
if( end_time >= begin_time )
if( end_time <= begin_time )
{
if( (cur_time >= begin_time) && (cur_time <= end_time) )
in_sched_state = TRUE;