]> 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 12:18:39 +0000 (14:18 +0200)
commit9a17c4c04ceb5a1c1de5a21c19bde794ab5b4a48
treef906b67f63d2a5e63bd9daf2d6bae892b08e93f6
parente80af83b361b7555a0c3369fe243c19f6c60bd60
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>
(cherry picked from commit e441d861881669c97906652c3278cc9a6c69a417)
src/openvpn/platform.c
src/openvpn/tun.c