diff --git a/daemon/call.c b/daemon/call.c index 59db528a0..734be2943 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -245,7 +245,7 @@ no_sfd: tmp_t_reason = OFFER_TIMEOUT; } - if (rtpe_now.tv_sec - timestamp < check) + if (timestamp < rtpe_now.tv_sec || rtpe_now.tv_sec - timestamp < check) good = true; next: