Skip to content

Commit

Permalink
Fix missing newlines on more messages
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Nov 5, 2012
1 parent 4a8a947 commit e888374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gnutls.c
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion openssl.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit e888374

Please sign in to comment.