]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Use cupsConcatString() instead of strlcat()
authorZdenek Dohnal <zdohnal@redhat.com>
Tue, 17 Sep 2024 08:49:51 +0000 (10:49 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Tue, 17 Sep 2024 08:49:51 +0000 (10:49 +0200)
scheduler/testmime.c

index acd24785575522fb4544ed1a835b5f623a531a63..179a90aaee22666d287eb60a5f29b575fe1d7679 100644 (file)
@@ -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);