]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/lpstat.c
Import CUPS v2.0rc1
[thirdparty/cups.git] / systemv / lpstat.c
index 8190ba11b6188ff91e6be8e191e17fa41642a158..9c076cb255cadb581a3ff8c5d4a3abd42143f78f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: lpstat.c 12066 2014-07-30 18:30:44Z msweet $"
+ * "$Id: lpstat.c 12124 2014-08-28 15:37:22Z msweet $"
  *
  * "lpstat" command for CUPS.
  *
@@ -1270,7 +1270,6 @@ show_jobs(const char *dests,              /* I - Destinations */
                *reasons;               /* Job state reasons attribute */
   const char   *dest,                  /* Pointer into job-printer-uri */
                *username,              /* Pointer to job-originating-user-name */
-               *title,                 /* Pointer to job-name */
                *message,               /* Pointer to job-printer-state-message */
                *time_at;               /* time-at-xxx attribute name to use */
   int          rank,                   /* Rank in queue */
@@ -1385,7 +1384,6 @@ show_jobs(const char *dests,              /* I - Destinations */
       username = NULL;
       dest     = NULL;
       jobtime  = 0;
-      title    = "no title";
       message  = NULL;
       reasons  = NULL;
 
@@ -1411,9 +1409,6 @@ show_jobs(const char *dests,              /* I - Destinations */
         else if (!strcmp(attr->name, "job-originating-user-name") &&
                 attr->value_tag == IPP_TAG_NAME)
          username = attr->values[0].string.text;
-        else if (!strcmp(attr->name, "job-name") &&
-                attr->value_tag == IPP_TAG_NAME)
-         title = attr->values[0].string.text;
         else if (!strcmp(attr->name, "job-state-reasons") &&
                 attr->value_tag == IPP_TAG_KEYWORD)
          reasons = attr;
@@ -2039,5 +2034,5 @@ show_scheduler(void)
 
 
 /*
- * End of "$Id: lpstat.c 12066 2014-07-30 18:30:44Z msweet $".
+ * End of "$Id: lpstat.c 12124 2014-08-28 15:37:22Z msweet $".
  */