]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix add-printer bug.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 26 Feb 2003 19:49:24 +0000 (19:49 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 26 Feb 2003 19:49:24 +0000 (19:49 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@3407 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/ipp.c

index 34d2395309c563b6cfb9aaef6bf49f6b65f89163..54da16d3e3b60de738a7d586adc16ff999cbbbf9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.c,v 1.188 2003/02/10 17:58:12 mike Exp $"
+ * "$Id: ipp.c,v 1.189 2003/02/26 19:49:24 mike Exp $"
  *
  *   IPP routines for the Common UNIX Printing System (CUPS) scheduler.
  *
@@ -1205,7 +1205,7 @@ add_printer(client_t        *con, /* I - Client connection */
     strlcpy(printer->state_message, attr->values[0].string.text,
             sizeof(printer->state_message));
   if ((attr = ippFindAttribute(con->request, "job-sheets-default", IPP_TAG_ZERO)) != NULL &&
-      !Classification[0])
+      !Classification)
   {
     SetString(&printer->job_sheets[0], attr->values[0].string.text);
     if (attr->num_values > 1)
@@ -6069,5 +6069,5 @@ validate_user(client_t   *con,            /* I - Client connection */
 
 
 /*
- * End of "$Id: ipp.c,v 1.188 2003/02/10 17:58:12 mike Exp $".
+ * End of "$Id: ipp.c,v 1.189 2003/02/26 19:49:24 mike Exp $".
  */