Skip to content

Commit

Permalink
Use cupsConcatString() instead of strlcat()
Browse files Browse the repository at this point in the history
  • Loading branch information
zdohnal committed Sep 17, 2024
1 parent e9035ac commit bb38f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/testmime.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ print_rules(mime_magic_t *rules) /* I - Rules to print */
else
puts("AND (");

strlcat(indent, "\t", sizeof(indent));
cupsConcatString(indent, "\t", sizeof(indent));
print_rules(rules->child);
indent[strlen(indent) - 1] = '\0';
printf("%s)\n", indent);
Expand Down

0 comments on commit bb38f96

Please sign in to comment.