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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user