]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/accept.c
Merge changes from CUPS 1.4svn-r7961.
[thirdparty/cups.git] / systemv / accept.c
index 20e3af373a4e81be8ed9b90a5a3a55b81bf23f75..367f38f8d5ccb76228e528af4fdbd4698c4ebbb3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: accept.c 7221 2008-01-16 22:20:08Z mike $"
+ * "$Id: accept.c 7929 2008-09-10 22:23:59Z mike $"
  *
  *   "accept", "disable", "enable", and "reject" commands for the Common
  *   UNIX Printing System (CUPS).
@@ -62,9 +62,9 @@ main(int  argc,                               /* I - Number of command-line arguments */
 
   cancel = 0;
 
-  if (!strcmp(command, "accept"))
+  if (!strcmp(command, "cupsaccept") || !strcmp(command, "accept"))
     op = CUPS_ACCEPT_JOBS;
-  else if (!strcmp(command, "reject"))
+  else if (!strcmp(command, "cupsreject") || !strcmp(command, "reject"))
     op = CUPS_REJECT_JOBS;
   else if (!strcmp(command, "cupsdisable") || !strcmp(command, "disable"))
     op = IPP_PAUSE_PRINTER;
@@ -282,5 +282,5 @@ main(int  argc,                             /* I - Number of command-line arguments */
 
 
 /*
- * End of "$Id: accept.c 7221 2008-01-16 22:20:08Z mike $".
+ * End of "$Id: accept.c 7929 2008-09-10 22:23:59Z mike $".
  */