extract-word: modernize extract_many_words

This commit is contained in:
Mike Yuan
2024-03-03 19:01:00 +08:00
parent 0578371f53
commit 4f49512695
23 changed files with 78 additions and 84 deletions
+1 -1
View File
@@ -1701,7 +1701,7 @@ static int parse_line(
/* Parse columns */
p = buffer;
r = extract_many_words(&p, NULL, EXTRACT_UNQUOTE,
&action, &name, &id, &description, &home, &shell, NULL);
&action, &name, &id, &description, &home, &shell);
if (r < 0)
return log_syntax(NULL, LOG_ERR, fname, line, r, "Syntax error.");
if (r < 2)