Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
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 {
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;
}