]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fixed minor bug in attribute reading code - didn't handle "unsupported"
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 12 Oct 1999 17:10:04 +0000 (17:10 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 12 Oct 1999 17:10:04 +0000 (17:10 +0000)
group properly.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@724 7a7537e8-13f0-0310-91df-b6672ffda945

cups/ipp.c
cups/ipp.h

index 8f593f2e43abc64ecddca98224bfbd7209ed3652..7a7814b44e474249ad2cab6e52fbe67c6518fec5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.c,v 1.24 1999/09/29 15:34:37 mike Exp $"
+ * "$Id: ipp.c,v 1.25 1999/10/12 17:10:03 mike Exp $"
  *
  *   Internet Printing Protocol support functions for the Common UNIX
  *   Printing System (CUPS).
@@ -801,7 +801,7 @@ ippRead(http_t *http,               /* I - HTTP data */
            ipp->state = IPP_DATA;
            break;
          }
-          else if (tag <= IPP_TAG_UNSUPPORTED)
+          else if (tag < IPP_TAG_UNSUPPORTED_VALUE)
          {
           /*
            * Group tag...  Set the current group and continue...
@@ -1453,5 +1453,5 @@ ipp_read(http_t        *http,     /* I - Client connection */
 
 
 /*
- * End of "$Id: ipp.c,v 1.24 1999/09/29 15:34:37 mike Exp $".
+ * End of "$Id: ipp.c,v 1.25 1999/10/12 17:10:03 mike Exp $".
  */
index f7a18c2cc25177e5ad9f6b3ed9bc6793d92bac2b..e0090eb6a024347caf4f22fbac0b43bc9c644ced 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: ipp.h,v 1.18 1999/07/24 10:44:29 mike Exp $"
+ * "$Id: ipp.h,v 1.19 1999/10/12 17:10:04 mike Exp $"
  *
  *   Internet Printing Protocol definitions for the Common UNIX Printing
  *   System (CUPS).
@@ -75,8 +75,8 @@ typedef enum                  /**** Format tags for attribute formats... ****/
   IPP_TAG_JOB,
   IPP_TAG_END,
   IPP_TAG_PRINTER,
-  IPP_TAG_EXTENSION,
-  IPP_TAG_UNSUPPORTED = 0x10,
+  IPP_TAG_UNSUPPORTED_GROUP,
+  IPP_TAG_UNSUPPORTED_VALUE = 0x10,
   IPP_TAG_DEFAULT,
   IPP_TAG_UNKNOWN,
   IPP_TAG_NOVALUE,
@@ -339,5 +339,5 @@ extern int          ippPort(void);
 #endif /* !_CUPS_IPP_H_ */
 
 /*
- * End of "$Id: ipp.h,v 1.18 1999/07/24 10:44:29 mike Exp $".
+ * End of "$Id: ipp.h,v 1.19 1999/10/12 17:10:04 mike Exp $".
  */