Skip to content

Commit

Permalink
Pass NULL, not false, to sudoers_format_default_line().
Browse files Browse the repository at this point in the history
  • Loading branch information
millert committed Nov 16, 2024
1 parent b7efb8a commit 9c63ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sudoers/cvtsudoers_ldif.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ print_global_defaults_ldif(FILE *fp,
lbuf.len = 0;
if (!sudo_lbuf_append(&lbuf, "# "))
goto done;
if (!sudoers_format_default_line(&lbuf, parse_tree, opt, false, true))
if (!sudoers_format_default_line(&lbuf, parse_tree, opt, NULL, true))
goto done;
fprintf(fp, "# Unable to translate %s:%d:%d:\n%s\n",
opt->file, opt->line, opt->column, lbuf.buf);
Expand Down

0 comments on commit 9c63ff0

Please sign in to comment.