mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
basic/escape: octescape() doesn't really take 'bad' param
This commit is contained in:
@@ -449,7 +449,7 @@ char* escape_non_printable_full(const char *str, size_t console_width, XEscapeFl
|
||||
char* octescape(const char *s, size_t len) {
|
||||
char *buf, *t;
|
||||
|
||||
/* Escapes all chars in bad, in addition to \ and " chars, in \nnn style escaping. */
|
||||
/* Escapes \ and " chars, in \nnn style escaping. */
|
||||
|
||||
assert(s || len == 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user