mirror of
https://github.com/transmission/transmission
synced 2025-03-10 14:13:23 +00:00
Revert r6688 (this was no bug)
This commit is contained in:
parent
ad04ad0d3d
commit
f4507dd8c7
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ updateScheduledLimits(gpointer data)
|
||||||
tm = localtime (&t);
|
tm = localtime (&t);
|
||||||
cur_time = (tm->tm_hour * 60) + tm->tm_min;
|
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) )
|
if( (cur_time >= begin_time) && (cur_time <= end_time) )
|
||||||
in_sched_state = TRUE;
|
in_sched_state = TRUE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue