]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Report results of ippValidateAttributes when showing the contents of the IPP
authorMichael R Sweet <msweet@msweet.org>
Tue, 2 Sep 2025 19:52:20 +0000 (15:52 -0400)
committerMichael R Sweet <msweet@msweet.org>
Tue, 2 Sep 2025 19:52:20 +0000 (15:52 -0400)
message.

cups/testipp.c

index db65a5ff613ceb17990f438b9dbde376b9e4374f..eae8bb16766229b5ada1c1c4914194c9387db99a 100644 (file)
@@ -895,7 +895,7 @@ main(int  argc,                     /* I - Number of command-line arguments */
 
       if (request)
       {
-       printf("\n%s:\n", argv[i]);
+       printf("\n%s: %s\n", argv[i], ippValidateAttributes(request) ? "OK" : cupsLastErrorString());
        print_attributes(request, 4);
        ippDelete(request);
       }