Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
subscriptions_reschedule: fix the timer value
  • Loading branch information
perexg committed Aug 12, 2014
1 parent 1648168 commit 5745e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subscriptions.c
Expand Up @@ -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);
Expand Down

0 comments on commit 5745e3e

Please sign in to comment.