]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/error.c
Remove all of the Subversion keywords from various source files.
[thirdparty/cups.git] / filter / error.c
index 8fca072caa967d421ff25da917c6b91af8636285..47cc539e2166e039296b13be0e1bf818c2429496 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * "$Id$"
- *
  * Raster error handling for CUPS.
  *
  * Copyright 2007-2015 by Apple Inc.
@@ -56,6 +54,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 +63,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))
@@ -205,7 +207,7 @@ get_error_buffer(void)
     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));
   }
 
  /*
@@ -268,8 +270,3 @@ get_error_buffer(void)
   return (&buf);
 }
 #endif /* HAVE_PTHREAD_H */
-
-
-/*
- * End of "$Id$".
- */