Commit 0f4a7efa authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in recompute_resend_time.

Unpleasant bug, this caused resends to be missed in many cases.
parent e6c8a6bb
......@@ -267,7 +267,7 @@ recompute_resend_time()
if(!resend_expired(request) && request->delay > 0 && request->max > 0) {
struct timeval timeout;
timeval_plus_msec(&timeout, &request->time, request->delay);
timeval_min(&resend_time, &timeout);
timeval_min(&resend, &timeout);
}
request = request->next;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment