From: Daniel Lenski Date: Wed, 21 Apr 2021 10:50:36 +0000 (+0100) Subject: Fix missing newlines in ssl_nonblock_{read,write}() error message X-Git-Tag: v8.20~282 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9070a12a6772621389c6c2ac714219e4393c5f5e;p=users%2Fdwmw2%2Fopenconnect.git Fix missing newlines in ssl_nonblock_{read,write}() error message Signed-off-by: Daniel Lenski Signed-off-by: David Woodhouse --- diff --git a/gnutls.c b/gnutls.c index a124763b..0efd1091 100644 --- a/gnutls.c +++ b/gnutls.c @@ -303,7 +303,7 @@ int ssl_nonblock_read(struct openconnect_info *vpninfo, int dtls, void *buf, int if (!sess) { vpn_progress(vpninfo, PRG_ERR, - _("Attempted to read from non-existent %s session"), + _("Attempted to read from non-existent %s session\n"), dtls ? "DTLS" : "TLS"); return -1; } @@ -327,7 +327,7 @@ int ssl_nonblock_write(struct openconnect_info *vpninfo, int dtls, void *buf, in if (!sess) { vpn_progress(vpninfo, PRG_ERR, - _("Attempted to write to non-existent %s session"), + _("Attempted to write to non-existent %s session\n"), dtls ? "DTLS" : "TLS"); return -1; } diff --git a/openssl.c b/openssl.c index 1bd7451a..63c89626 100644 --- a/openssl.c +++ b/openssl.c @@ -318,7 +318,7 @@ int ssl_nonblock_read(struct openconnect_info *vpninfo, int dtls, void *buf, int if (!ssl) { vpn_progress(vpninfo, PRG_ERR, - _("Attempted to read from non-existent %s session"), + _("Attempted to read from non-existent %s session\n"), dtls ? "DTLS" : "TLS"); return -1; } @@ -343,7 +343,7 @@ int ssl_nonblock_write(struct openconnect_info *vpninfo, int dtls, void *buf, in if (!ssl) { vpn_progress(vpninfo, PRG_ERR, - _("Attempted to write to non-existent %s session"), + _("Attempted to write to non-existent %s session\n"), dtls ? "DTLS" : "TLS"); return -1; }