]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/testspeed.c
Merge more Common UNIX Printing System -> CUPS changes.
[thirdparty/cups.git] / scheduler / testspeed.c
index 4b740675eca755c5bb4449ee5f4389b7d50f7934..0bf0300ed6c7df83a03c3a655e42de58743eed52 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: testspeed.c 6649 2007-07-11 21:46:42Z mike $"
+ * "$Id: testspeed.c 7727 2008-07-14 18:02:21Z mike $"
  *
  *   Scheduler speed test for the Common UNIX Printing System (CUPS).
  *
  * Include necessary headers...
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/wait.h>
+#include <cups/string.h>
 #include <cups/cups.h>
 #include <cups/language.h>
 #include <cups/debug.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/wait.h>
 #include <errno.h>
 
 
@@ -307,8 +305,6 @@ do_test(const char        *server,  /* I - Server to use */
       case IPP_PRINT_JOB :
          ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri",
                        NULL, "ipp://localhost/printers/test");
-          ippAddString(request, IPP_TAG_JOB, IPP_TAG_KEYWORD, "job-hold-until",
-                      NULL, "indefinite");
          ippDelete(cupsDoFileRequest(http, request, "/printers/test",
                                      "../data/testprint.ps"));
           break;
@@ -366,5 +362,5 @@ usage(void)
 
 
 /*
- * End of "$Id: testspeed.c 6649 2007-07-11 21:46:42Z mike $".
+ * End of "$Id: testspeed.c 7727 2008-07-14 18:02:21Z mike $".
  */