[PATCH 1/1] remove extra new line

Christian Hesse list at eworm.de
Wed Jul 8 17:59:54 AEST 2015


From: Christian Hesse <mail at eworm.de>

logit() adds a new line, so this one is duplicate.

Signed-off-by: Christian Hesse <mail at eworm.de>
---
 sshconnect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sshconnect.c b/sshconnect.c
index f41960c..f104297 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -925,7 +925,7 @@ check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port,
 			    options.fingerprint_hash, SSH_FP_RANDOMART);
 			if (fp == NULL || ra == NULL)
 				fatal("%s: sshkey_fingerprint fail", __func__);
-			logit("Host key fingerprint is %s\n%s\n", fp, ra);
+			logit("Host key fingerprint is %s\n%s", fp, ra);
 			free(ra);
 			free(fp);
 		}
-- 
2.4.5



More information about the openssh-unix-dev mailing list