Re: [Openvpn-devel] [PATCH] openvpnmsica: Simplify find_adapters() to void return

2020-09-24 Thread Lev Stipakov
Hi, > to return result code. It still logs any error thou. though > -static UINT > +static void Indeed, the return value of find_adapters() has never been used. Compiled with MSVC. Acked-by: Lev Stipakov ___ Openvpn-devel mailing list

[Openvpn-devel] [PATCH] openvpnmsica: Simplify find_adapters() to void return

2020-09-24 Thread Simon Rozman via Openvpn-devel
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 thou. Signed-off-by: Simon Rozman --- src/openvpnmsica/openvpnmsica.c | 7 +++ 1 file changed, 3