1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-10 06:23:01 +03:00

log: remove the annoying \n between date and message

This commit is contained in:
Aris Adamantiadis
2011-09-11 15:02:25 +02:00
parent 1f31415760
commit fa68d91869

View File

@@ -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);
}