]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove a number of check/do_work wrapper calls from coarse_timers
authorArne Schwabe <arne@rfc2549.org>
Mon, 10 Aug 2020 14:36:56 +0000 (16:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 10 Aug 2020 16:31:30 +0000 (18:31 +0200)
commite963904474ad97e0f8dfb0c9ccb57b1440cfb8f6
tree2e79551f53e7013836d14d991ccaa1bd9f548ba2
parent60200b9e1a977c32e64907ed67406dd4208e8abf
Remove a number of check/do_work wrapper calls from coarse_timers

This indirection is not very helpful in understanding the code
flow.  Move the check to process_coarse_timers, remove the
check function, rename the do_work function to the "real" thing
and then drop the do_work wrapper as it does no longer serve a
purpose.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20200810143707.5834-7-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20668.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/forward.c
src/openvpn/forward.h
src/openvpn/status.c
src/openvpn/status.h