diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-09-11 15:02:25 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-09-11 17:39:20 +0200 |
commit | fa68d91869844dc8b829dacb296dc430982832ec (patch) | |
tree | 5e88a8a705455460ab355dcaf726bcb56d9e14d1 /src/log.c | |
parent | 1f31415760ecee2765b1185b0f3ea386d437f4a0 (diff) | |
download | libssh-fa68d91869844dc8b829dacb296dc430982832ec.tar.gz libssh-fa68d91869844dc8b829dacb296dc430982832ec.tar.xz libssh-fa68d91869844dc8b829dacb296dc430982832ec.zip |
log: remove the annoying \n between date and message
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |