projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
snprintf.c
diff --git
a/snprintf.c
b/snprintf.c
index
72c3d11
..
2ec459b
100644
(file)
--- a/
snprintf.c
+++ b/
snprintf.c
@@
-50,6
+50,7
@@
#include <ctype.h>
#include <sys/types.h>
#include "lib/str.h"
#include <ctype.h>
#include <sys/types.h>
#include "lib/str.h"
+#include "lib/debug.h"
/* Define this as a fall through, HAVE_STDARG_H is probably already set */
/* 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
spadlen = -spadlen; /* Left Justifty */
#ifdef DEBUG_SNPRINTF
- d
print (1, (debugfile,
"zpad: %d, spad: %d, min: %d, max: %d, place: %d\n",
+ d
ebug_print (1, (
"zpad: %d, spad: %d, min: %d, max: %d, place: %d\n",
zpadlen, spadlen, min, max, place));
#endif
zpadlen, spadlen, min, max, place));
#endif
@@
-602,7
+603,7
@@
static void fmtfp (char *buffer, size_t * currlen, size_t maxlen,
}
#ifdef DEBUG_SNPRINTF
}
#ifdef DEBUG_SNPRINTF
- d
print (1, (debugfile,
"fmtfp: %f =? %d.%d\n", fvalue, intpart, fracpart));
+ d
ebug_print (1, (
"fmtfp: %f =? %d.%d\n", fvalue, intpart, fracpart));
#endif
/* Convert integer part */
#endif
/* Convert integer part */