/*
- * "$Id: ipp-var.c,v 1.23.2.12 2003/07/20 03:49:45 mike Exp $"
+ * "$Id: ipp-var.c,v 1.23.2.13 2003/07/25 20:39:35 mike Exp $"
*
* IPP variable routines for the Common UNIX Printing System (CUPS).
*
if (num_attrs > 0)
{
ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD,
- "requested-attributes", num_attrs, NULL, attrs);
+ "requested-attributes", num_attrs, NULL, (const char **)attrs);
for (i = 0; i < num_attrs; i ++)
free(attrs[i]);
/*
- * End of "$Id: ipp-var.c,v 1.23.2.12 2003/07/20 03:49:45 mike Exp $".
+ * End of "$Id: ipp-var.c,v 1.23.2.13 2003/07/25 20:39:35 mike Exp $".
*/
/*
- * "$Id: pstops.c,v 1.54.2.40 2003/07/20 02:07:45 mike Exp $"
+ * "$Id: pstops.c,v 1.54.2.41 2003/07/25 20:39:36 mike Exp $"
*
* PostScript filter for the Common UNIX Printing System (CUPS).
*
if ((val = cupsGetOption("page-border", num_options, options)) != NULL)
{
- if (strcasecmp(val, "none"))
+ if (!strcasecmp(val, "none"))
Border = BORDER_NONE;
- else if (strcasecmp(val, "single"))
+ else if (!strcasecmp(val, "single"))
Border = BORDER_SINGLE;
else if (!strcasecmp(val, "single-thick"))
Border = BORDER_SINGLE2;
/*
- * End of "$Id: pstops.c,v 1.54.2.40 2003/07/20 02:07:45 mike Exp $".
+ * End of "$Id: pstops.c,v 1.54.2.41 2003/07/25 20:39:36 mike Exp $".
*/