Skip to content

Commit 0747fd6

Browse files
committed
Report results of ippValidateAttributes when showing the contents of the IPP
message.
1 parent 8d80ddb commit 0747fd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cups/testipp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ main(int argc, /* I - Number of command-line arguments */
895895

896896
if (request)
897897
{
898-
printf("\n%s:\n", argv[i]);
898+
printf("\n%s: %s\n", argv[i], ippValidateAttributes(request) ? "OK" : cupsLastErrorString());
899899
print_attributes(request, 4);
900900
ippDelete(request);
901901
}

0 commit comments

Comments
 (0)