]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/error.c
Fix a bug in cupsRasterWritePixels (STR #4650)
[thirdparty/cups.git] / filter / error.c
index 8fca072caa967d421ff25da917c6b91af8636285..39cd10391ab729320673c5104f58868260e563ce 100644 (file)
@@ -56,6 +56,8 @@ _cupsRasterAddError(const char *f,    /* I - Printf-style error message */
   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);
@@ -63,6 +65,8 @@ _cupsRasterAddError(const char *f,    /* I - Printf-style error message */
   if (bytes <= 0)
     return;
 
+  DEBUG_printf(("1_cupsRasterAddError: %s", s));
+
   bytes ++;
 
   if ((size_t)bytes >= sizeof(s))