cups/cups-1.1.21-testppd_duplex.patch

24 lines
664 B
Diff

Index: cups-1.3.11/systemv/cupstestppd.c
===================================================================
--- cups-1.3.11.orig/systemv/cupstestppd.c
+++ cups-1.3.11/systemv/cupstestppd.c
@@ -931,6 +931,7 @@ main(int argc, /* I - Number of comm
if (size->left == 0.0 && size->bottom == 0.0 &&
size->right == 0.0 && size->top == 0.0)
{
+#if 0
if (verbose >= 0)
{
if (!errors && !verbose)
@@ -945,6 +946,10 @@ main(int argc, /* I - Number of comm
}
errors ++;
+#else
+ printf(" WARN Bad %s choice %s!\n",
+ option->keyword, choice->choice);
+#endif
}
/*