]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Refactor OpenVPNService state detection code
authorSimon Rozman <simon@rozman.si>
Sun, 24 Feb 2019 18:15:44 +0000 (19:15 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 28 Feb 2019 15:17:51 +0000 (16:17 +0100)
commit197f8076e43534f3dfe50e3c638143c38f4bad7f
tree7dccd2142b42fd7c093c689a3feea9450dfe10a5
parent890f9a85ca86fbba678fddb2e589a0180a6f1784
Refactor OpenVPNService state detection code

The code was standardized to avoid "E1072: a declaration cannot have a
label" warning of Visual Studio 2017 IntelliSense.

Furthermore, a comment explaining what `dwStartType <=
SERVICE_AUTO_START` condition is about.

This patch follows Gert's recommendations from [openvpn-devel].

Signed-off-by: Simon Rozman <simon@rozman.si>
Message-ID: <201901181944.x0IJiGuV003728@chekov.greenie.muc.de>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20190224181544.17232-1-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18233.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnmsica/openvpnmsica.c