X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=snprintf.c;h=036d904963753302297e945009c4356e3aa01a86;hp=43366b40911f87d42a4ab645d2a4403f1e809139;hb=dc2c2ef1ba4d0a0f3c2552459b9f962594a3536b;hpb=0d23a37d51884266b694d3a94300ddb5c3faf4fa diff --git a/snprintf.c b/snprintf.c index 43366b4..036d904 100644 --- a/snprintf.c +++ b/snprintf.c @@ -50,6 +50,7 @@ #include #include #include "lib/str.h" +#include "lib/debug.h" /* Define this as a fall through, HAVE_STDARG_H is probably already set */ @@ -479,7 +480,7 @@ static void fmtint (char *buffer, size_t * currlen, size_t maxlen, spadlen = -spadlen; /* Left Justifty */ #ifdef DEBUG_SNPRINTF - dprint (1, (debugfile, "zpad: %d, spad: %d, min: %d, max: %d, place: %d\n", + debug_print (1, ("zpad: %d, spad: %d, min: %d, max: %d, place: %d\n", zpadlen, spadlen, min, max, place)); #endif @@ -602,7 +603,7 @@ static void fmtfp (char *buffer, size_t * currlen, size_t maxlen, } #ifdef DEBUG_SNPRINTF - dprint (1, (debugfile, "fmtfp: %f =? %d.%d\n", fvalue, intpart, fracpart)); + debug_print (1, ("fmtfp: %f =? %d.%d\n", fvalue, intpart, fracpart)); #endif /* Convert integer part */