aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-09-11 15:02:25 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-11 17:39:20 +0200
commitfa68d91869844dc8b829dacb296dc430982832ec (patch)
tree5e88a8a705455460ab355dcaf726bcb56d9e14d1 /src
parent1f31415760ecee2765b1185b0f3ea386d437f4a0 (diff)
downloadlibssh-fa68d91869844dc8b829dacb296dc430982832ec.tar.gz
libssh-fa68d91869844dc8b829dacb296dc430982832ec.tar.xz
libssh-fa68d91869844dc8b829dacb296dc430982832ec.zip
log: remove the annoying \n between date and message
Diffstat (limited to 'src')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index 87a0fb85..7e60aee8 100644
--- a/src/log.c
+++ b/src/log.c
@@ -91,9 +91,9 @@ static void do_ssh_log(struct ssh_common_struct *common,
rc = current_timestring(1, date, sizeof(date));
if (rc == 0) {
- fprintf(stderr, "[%s, %d] %s\n", date, verbosity, function);
+ fprintf(stderr, "[%s, %d] %s", date, verbosity, function);
} else {
- fprintf(stderr, "[%d] %s\n", verbosity, function);
+ fprintf(stderr, "[%d] %s", verbosity, function);
}
fprintf(stderr, " %s\n", buffer);
}