]> git.ipfire.org Git - thirdparty/openvpn.git/commit
openvpnmsica: Simplify find_adapters() to void return
authorSimon Rozman via Openvpn-devel <openvpn-devel@lists.sourceforge.net>
Thu, 24 Sep 2020 06:55:19 +0000 (08:55 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 24 Sep 2020 11:39:06 +0000 (13:39 +0200)
commit7f7b05395c3eb634e198d12e212360958c3ca8fb
tree6a75a329604b4fb6ae9adbc0076532ce56848152
parent370395b3348c4307cdea955abaa36ba315cc128e
openvpnmsica: Simplify find_adapters() to void return

As the find_adapters() failure is not critical and FindSystemInfo()
should continue regardless, the find_adapters() has been simplified not
to return result code. It still logs any error though.

Signed-off-by: Simon Rozman <simon@rozman.si>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20200924065519.1839-1-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21077.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnmsica/openvpnmsica.c