]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/testcups.c
Merge changes from CUPS 1.6svn-r10002
[thirdparty/cups.git] / cups / testcups.c
index 74241666ab2bd6e1791e9286b82af2fcfcd2f298..e7dc9ea6d6f61b9e175212b3fb08a8cc1a76bafa 100644 (file)
@@ -117,7 +117,7 @@ main(int  argc,                             /* I - Number of command-line arguments */
 
     cupsFileClose(fp);
 
-    if (cupsFinishDocument(CUPS_HTTP_DEFAULT, argv[1]) != HTTP_OK)
+    if (cupsFinishDocument(CUPS_HTTP_DEFAULT, argv[1]) > IPP_OK_SUBST)
     {
       puts("Unable to finish document!");
       return (1);