]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/encode.c
Update ipp documentation to reflect the behavior of configuring WiFi on IPP USB printers.
[thirdparty/cups.git] / cups / encode.c
index bda910be7f230187f09bd7d70e9446558e5e3743..5bcbf6fe5a749011f759a4b05de18011571fd891 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Option encoding routines for CUPS.
  *
- * Copyright © 2007-2018 by Apple Inc.
+ * Copyright © 2007-2019 by Apple Inc.
  * Copyright © 1997-2007 by Easy Software Products.
  *
  * Licensed under Apache License v2.0.  See the file "LICENSE" for more
@@ -523,7 +523,7 @@ _cupsEncodeOption(
 
          quote = *sep;
        }
-       else if (*sep == ',' && count > 1)
+       else if (*sep == ',')
          break;
        else if (*sep == '\\' && sep[1])
        {
@@ -673,7 +673,7 @@ _cupsEncodeOption(
 /*
  * 'cupsEncodeOption()' - Encode a single option into an IPP attribute.
  *
- * @since CUPS 2.3@
+ * @since CUPS 2.3/macOS 10.14@
  */
 
 ipp_attribute_t        *                       /* O - New attribute or @code NULL@ on error */