timeout: add helpers for next delay
This kills the ambiguously-named pp_ms_to_timeout(), and
adds pp_next_delay_{1,2,3}.
This commit meanwhile fixes the timeouts in the pdelay master (who didn't
consider the request timeout), and in the pdelay listener (because
LISTEN mode must send pdelay requests).
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment