]> git.ipfire.org Git - thirdparty/openvpn.git/commit
don't print errno twice
authorAntonio Quartulli <antonio@openvpn.net>
Thu, 13 Jul 2017 08:05:27 +0000 (16:05 +0800)
committerGert Doering <gert@greenie.muc.de>
Mon, 17 Jul 2017 11:44:15 +0000 (13:44 +0200)
commite441d861881669c97906652c3278cc9a6c69a417
tree2c383cd499713f61a526271f14b344efb9529e1c
parent56b396dcbc34ffd3cddeb2e65ae55c40eae51831
don't print errno twice

when passing the M_ERRNO flag to msg(), the latter will already
print the errno message (in a form of a string and number) for us,
hence there is no need to explicitly print it a second time.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20170713080527.13299-2-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15057.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/platform.c
src/openvpn/tun.c