]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Eliminate check_incoming_control_channel wrapper function
authorArne Schwabe <arne@rfc2549.org>
Mon, 10 Aug 2020 14:37:00 +0000 (16:37 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 10 Aug 2020 18:07:22 +0000 (20:07 +0200)
commiteed645b34760955a060b8002dd69901cefefd0aa
tree45d22bbccb3fb1e4e2ae95616600c87780c3e235
parentb7aebba25645e9e9c1359313fc35724f7e0e8529
Eliminate check_incoming_control_channel wrapper function

Move the check that calls this function into the calling function.
Also eliminate the if (len) check in the
check_incoming_control_channel_dowork function as it is only called
if len is > 0 anyway and replace it with a ASSERT.

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