diff options
| author | David Lamparter <equinox@diac24.net> | 2021-02-14 15:35:07 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2021-02-14 15:36:51 +0100 |
| commit | 1d5453d6070f5266f0bdf709690282a0dc5dc83d (patch) | |
| tree | 7eb4346adce641e92cc79a0be696908e924466e1 /lib/command_parse.y | |
| parent | 44b0793e88503b4b70a569c0579f7a79b587f627 (diff) | |
*: remove tabs & newlines from log messages
Neither tabs nor newlines are acceptable in syslog messages. They also
break line-based parsing of file logs.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/command_parse.y')
| -rw-r--r-- | lib/command_parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y index ba5225b702..8135d02b4b 100644 --- a/lib/command_parse.y +++ b/lib/command_parse.y @@ -496,7 +496,7 @@ terminate_graph (CMD_YYLTYPE *locp, struct parser_ctx *ctx, zlog_err ("----------"); while (ctx->docstr && ctx->docstr[1] != '\0') zlog_err ("%s", strsep(&ctx->docstr, "\n")); - zlog_err ("----------\n"); + zlog_err ("----------"); } graph_add_edge (finalnode, end_token_node); |
