From: Gert Doering Date: Thu, 12 May 2022 06:53:04 +0000 (+0200) Subject: Fix non-compliant whitespace introduced by commit 54800aa975418fe35. X-Git-Tag: v2.6_beta1~200 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=28557b50c6c9354fa50b4a18374c064dc547ac25;p=thirdparty%2Fopenvpn.git Fix non-compliant whitespace introduced by commit 54800aa975418fe35. Uncrustify fix. Signed-off-by: Gert Doering --- diff --git a/src/openvpn/error.c b/src/openvpn/error.c index 1b7f5cdec..49ed1dbc8 100644 --- a/src/openvpn/error.c +++ b/src/openvpn/error.c @@ -220,7 +220,7 @@ x_msg(const unsigned int flags, const char *format, ...) va_end(arglist); } -static const char* +static const char * openvpn_strerror(int err, bool crt_error, struct gc_arena *gc) { #ifdef _WIN32 diff --git a/src/openvpn/error.h b/src/openvpn/error.h index be8d97e50..972619fe8 100644 --- a/src/openvpn/error.h +++ b/src/openvpn/error.h @@ -399,7 +399,7 @@ openvpn_errno_maybe_crt(bool *crt_error) *crt_error = true; err = errno; } -#else +#else /* ifdef _WIN32 */ *crt_error = true; err = errno; #endif diff --git a/src/openvpn/forward.c b/src/openvpn/forward.c index 04828a5c4..6afe152b4 100644 --- a/src/openvpn/forward.c +++ b/src/openvpn/forward.c @@ -1663,9 +1663,9 @@ process_outgoing_link(struct context *c) bool unreachable = error_code == #ifdef _WIN32 - WSAENETUNREACH; + WSAENETUNREACH; #else - ENETUNREACH; + ENETUNREACH; #endif if (size < 0 && unreachable && c->c2.tls_multi && !tls_initial_packet_received(c->c2.tls_multi) && c->options.mode == MODE_POINT_TO_POINT)