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:
parent
c3c8006c85
commit
b630712d4b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue