mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09: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));
|
rc = current_timestring(1, date, sizeof(date));
|
||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
fprintf(stderr, "[%s, %d] %s\n", date, verbosity, function);
|
fprintf(stderr, "[%s, %d] %s", date, verbosity, function);
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "[%d] %s\n", verbosity, function);
|
fprintf(stderr, "[%d] %s", verbosity, function);
|
||||||
}
|
}
|
||||||
fprintf(stderr, " %s\n", buffer);
|
fprintf(stderr, " %s\n", buffer);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user