]> git.ipfire.org Git - thirdparty/openvpn.git/commit
push.c: fix Visual Studio build
authorLev Stipakov <lev@openvpn.net>
Tue, 8 Oct 2019 12:52:33 +0000 (15:52 +0300)
committerGert Doering <gert@greenie.muc.de>
Wed, 9 Oct 2019 10:50:46 +0000 (12:50 +0200)
commit4431d0903d4e23ef01a5582960990b77e9522ab2
treefc23ee5f7e99426cd9a7d5c502b6965b12fbf588
parenta933d21a902adfaa3893bd0f6097a1696d5ccf69
push.c: fix Visual Studio build

Visual Studio doesn't support empty designated initializers
for C code, so use { 0 }. Also replace existing CLEAR() call with
the new initializers.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1570539154-31784-1-git-send-email-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18904.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/push.c