subscriptions_reschedule: fix the timer value
This commit is contained in:
parent
1648168cdb
commit
5745e3e0d4
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ subscription_reschedule(void)
|
|||
subscription_unsubscribe(s);
|
||||
}
|
||||
|
||||
if (postpone <= 0)
|
||||
if (postpone <= 0 || postpone == INT_MAX)
|
||||
postpone = 2;
|
||||
gtimer_arm(&subscription_reschedule_timer,
|
||||
subscription_reschedule_cb, NULL, postpone);
|
||||
|
|
Loading…
Add table
Reference in a new issue