Revert "Logger: only log printable characters and newlines"
This reverts commit 2b1392af2f
.
This seems to create issues shutting down, so I need to look into it
further.
This commit is contained in:
parent
2b1392af2f
commit
b35e03b6b1
@ -87,9 +87,8 @@ write_log(int logfd, const char *buffer, size_t bytes)
|
||||
}
|
||||
|
||||
if (!in_escape) {
|
||||
if (isprint((unsigned char) *p) || *p == '\n')
|
||||
if (write(logfd, p++, 1) == -1)
|
||||
eerror("write: %s", strerror(errno));
|
||||
if (write(logfd, p++, 1) == -1)
|
||||
eerror("write: %s", strerror(errno));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user