[PATCH 01/24] openssl: Fix missing newline on "Failed to write" error string

Kevin Cernekee cernekee at gmail.com
Sat Nov 3 13:22:43 EDT 2012


Signed-off-by: Kevin Cernekee <cernekee at gmail.com>
---
 openssl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openssl.c b/openssl.c
index c163265..6acdf5c 100644
--- a/openssl.c
+++ b/openssl.c
@@ -107,7 +107,7 @@ int openconnect_SSL_write(struct openconnect_info *vpninfo, char *buf, size_t le
 			else if (err == SSL_ERROR_WANT_WRITE)
 				FD_SET(vpninfo->ssl_fd, &wr_set);
 			else {
-				vpn_progress(vpninfo, PRG_ERR, _("Failed to write to SSL socket"));
+				vpn_progress(vpninfo, PRG_ERR, _("Failed to write to SSL socket\n"));
 				openconnect_report_ssl_errors(vpninfo);
 				return -EIO;
 			}
-- 
1.7.10.4




More information about the openconnect-devel mailing list