Fix missing newlines on more messages
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Nov 2012 20:55:33 +0000 (20:55 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Nov 2012 21:01:03 +0000 (21:01 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
gnutls.c
openssl.c

index aa02e0d..dbc6d12 100644 (file)
--- a/gnutls.c
+++ b/gnutls.c
@@ -79,7 +79,7 @@ int openconnect_SSL_write(struct openconnect_info *vpninfo, char *buf, size_t le
                if (done > 0)
                        len -= done;
                else if (done != GNUTLS_E_AGAIN) {
-                       vpn_progress(vpninfo, PRG_ERR, _("Failed to write to SSL socket: %s"),
+                       vpn_progress(vpninfo, PRG_ERR, _("Failed to write to SSL socket: %s\n"),
                                     gnutls_strerror(done));
                        return -EIO;
                } else {
index 6acdf5c..58d9e7b 100644 (file)
--- a/openssl.c
+++ b/openssl.c
@@ -144,7 +144,7 @@ int openconnect_SSL_read(struct openconnect_info *vpninfo, char *buf, size_t len
                else if (err == SSL_ERROR_WANT_WRITE)
                        FD_SET(vpninfo->ssl_fd, &wr_set);
                else {
-                       vpn_progress(vpninfo, PRG_ERR, _("Failed to read from SSL socket"));
+                       vpn_progress(vpninfo, PRG_ERR, _("Failed to read from SSL socket\n"));
                        openconnect_report_ssl_errors(vpninfo);
                        return -EIO;
                }