X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;ds=sidebyside;f=filter%2Ferror.c;fp=filter%2Ferror.c;h=8fca072caa967d421ff25da917c6b91af8636285;hb=d9564ec70788039385f663f263ea66895add0518;hp=26d8511d46aceface0c02fe0f95e091345beb4bc;hpb=590e44a4d338a619c9f5b26ae3e994c2e59736aa;p=thirdparty%2Fcups.git diff --git a/filter/error.c b/filter/error.c index 26d8511d4..8fca072ca 100644 --- a/filter/error.c +++ b/filter/error.c @@ -3,7 +3,7 @@ * * Raster error handling for CUPS. * - * Copyright 2007-2014 by Apple Inc. + * Copyright 2007-2015 by Apple Inc. * Copyright 2007 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -185,7 +185,7 @@ get_error_buffer(void) * Initialize the global data exactly once... */ - DEBUG_puts("get_error_buffer()"); + DEBUG_puts("3get_error_buffer()"); pthread_once(&raster_key_once, raster_init); @@ -196,7 +196,7 @@ get_error_buffer(void) if ((buf = (_cups_raster_error_t *)pthread_getspecific(raster_key)) == NULL) { - DEBUG_puts("get_error_buffer: allocating memory for thread..."); + DEBUG_puts("4get_error_buffer: allocating memory for thread."); /* * No, allocate memory as set the pointer for the key... @@ -205,7 +205,7 @@ get_error_buffer(void) buf = calloc(1, sizeof(_cups_raster_error_t)); pthread_setspecific(raster_key, buf); - DEBUG_printf((" buf=%p\n", buf)); + DEBUG_printf(("4get_error_buffer: buf=%p", buf)); } /* @@ -225,8 +225,7 @@ raster_init(void) { pthread_key_create(&raster_key, raster_destructor); - DEBUG_printf(("raster_init(): raster_key=%x(%u)\n", (unsigned)raster_key, - (unsigned)raster_key)); + DEBUG_printf(("3raster_init(): raster_key=%x(%u)", (unsigned)raster_key, (unsigned)raster_key)); } @@ -241,7 +240,7 @@ raster_destructor(void *value) /* I - Data to free */ /* Error buffer */ - DEBUG_printf(("raster_destructor(value=%p)\n", value)); + DEBUG_printf(("3raster_destructor(value=%p)", value)); if (buf->start) free(buf->start);