/*
- * "$Id$"
- *
* Raster error handling for CUPS.
*
* Copyright 2007-2015 by Apple Inc.
ssize_t bytes; /* Bytes in message string */
+ DEBUG_printf(("_cupsRasterAddError(f=\"%s\", ...)", f));
+
va_start(ap, f);
bytes = vsnprintf(s, sizeof(s), f, ap);
va_end(ap);
if (bytes <= 0)
return;
+ DEBUG_printf(("1_cupsRasterAddError: %s", s));
+
bytes ++;
if ((size_t)bytes >= sizeof(s))
buf = calloc(1, sizeof(_cups_raster_error_t));
pthread_setspecific(raster_key, buf);
- DEBUG_printf(("4get_error_buffer: buf=%p", buf));
+ DEBUG_printf(("4get_error_buffer: buf=%p", (void *)buf));
}
/*
return (&buf);
}
#endif /* HAVE_PTHREAD_H */
-
-
-/*
- * End of "$Id$".
- */