aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-11-19 12:29:07 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-23 17:30:16 +0100
commit824c56067baa6f624b1c0701b0f9466cc335117b (patch)
tree62a1cf7b04b4b9c61e0e65fc370ba7b8fe013319 /src/config.c
parentdb5721d041d780b2ab88096988bfda1262cd9969 (diff)
downloadlibssh-824c56067baa6f624b1c0701b0f9466cc335117b.tar.gz
libssh-824c56067baa6f624b1c0701b0f9466cc335117b.tar.xz
libssh-824c56067baa6f624b1c0701b0f9466cc335117b.zip
config: Drop bogus newline in log
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index dbfead98..a2c1cc45 100644
--- a/src/config.c
+++ b/src/config.c
@@ -802,7 +802,7 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
}
break;
case SOC_NA:
- SSH_LOG(SSH_LOG_INFO, "Unapplicable option: %s, line: %d\n",
+ SSH_LOG(SSH_LOG_INFO, "Unapplicable option: %s, line: %d",
keyword, count);
break;
case SOC_UNSUPPORTED:
@@ -810,7 +810,7 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
keyword, count);
break;
case SOC_UNKNOWN:
- SSH_LOG(SSH_LOG_WARN, "Unknown option: %s, line: %d\n",
+ SSH_LOG(SSH_LOG_WARN, "Unknown option: %s, line: %d",
keyword, count);
break;
default: