When the weakness was exactly at the second, the weakness wasn't detected
and the next expiration timeout was removed entirely. This shouldn't have
caused any bigger problems, because another user lookup on the following
second would have then detected the weakness, removed the user and restored
the next expiration timeout.
}
if (user->weak) {
- if (expire_timestamp + USER_NEAR_EXPIRING_MAX >= ioloop_time) {
+ if (expire_timestamp + USER_NEAR_EXPIRING_MAX > ioloop_time) {
*retry_secs_r = expire_timestamp +
USER_NEAR_EXPIRING_MAX - ioloop_time;
return TRUE;