mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
tokenize: remove newline from log message (LOG_ERR appends one for us)
This commit is contained in:
parent
22cd25d360
commit
a9eeeedc90
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ tokenize_cmdline(char *cmdline, char ***argv)
|
|||
char *end = strchr(p, delim);
|
||||
if (end == NULL) {
|
||||
if (delim != ' ') {
|
||||
LOG_ERR("unterminated %s quote\n", delim == '"' ? "double" : "single");
|
||||
LOG_ERR("unterminated %s quote", delim == '"' ? "double" : "single");
|
||||
free(*argv);
|
||||
*argv = NULL;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue