CHANGES IN CUPS V1.1.19
+ - The cupsEncodeOptions() function could encode an
+ option with a NULL last string.
- The socket backend could report the wrong number of
backchannel bytes if an error occurred on the link.
- The cups-polld program now only sleeps after getting
/*
- * "$Id: encode.c,v 1.13 2003/02/10 17:58:11 mike Exp $"
+ * "$Id: encode.c,v 1.14 2003/02/13 03:23:13 mike Exp $"
*
* Option encoding routines for the Common UNIX Printing System (CUPS).
*
* Scan the value string for values...
*/
- for (j = 0; *val != '\0' || j == 0; val = sep, j ++)
+ for (j = 0; j < count; val = sep, j ++)
{
/*
* Find the end of this value and mark it if needed...
/*
- * End of "$Id: encode.c,v 1.13 2003/02/10 17:58:11 mike Exp $".
+ * End of "$Id: encode.c,v 1.14 2003/02/13 03:23:13 mike Exp $".
*/