chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
struct/buf.c: Add functions for serializing and deserializing `kludge64'.
[mLib]
/
trace
/
trace.c
diff --git
a/trace/trace.c
b/trace/trace.c
index 2681cd32e456c6f621f96862ea1fac993f21d324..e06bf7bd2ce09fecbe7e3447184f831f15334ef2 100644
(file)
--- a/
trace/trace.c
+++ b/
trace/trace.c
@@
-38,6
+38,7
@@
/* --- Local headers --- */
#include "dstr.h"
/* --- Local headers --- */
#include "dstr.h"
+#include "macros.h"
#include "quis.h"
#include "trace.h"
#include "quis.h"
#include "trace.h"
@@
-132,7
+133,7
@@
void trace_block(unsigned l, const char *s, const void *b, size_t sz)
dstr_puts(&d, ": ");
for (i = 0; i < 8; i++) {
if (i < sz)
dstr_puts(&d, ": ");
for (i = 0; i < 8; i++) {
if (i < sz)
- dstr_putc(&d,
isprint
(p[i]) ? p[i] : '.');
+ dstr_putc(&d,
ISPRINT
(p[i]) ? p[i] : '.');
else
dstr_putc(&d, '*');
}
else
dstr_putc(&d, '*');
}