~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sensible handling of empty reads.
[adns]
/
regress
/
hcommon.c.m4
diff --git
a/regress/hcommon.c.m4
b/regress/hcommon.c.m4
index
26798cb
..
59d97ed
100644
(file)
--- a/
regress/hcommon.c.m4
+++ b/
regress/hcommon.c.m4
@@
-131,7
+131,7
@@
void Tvbbytes(const void *buf, int len) {
const byte *bp;
int i;
- if (!len) { Tvba("
empty
"); return; }
+ if (!len) { Tvba("
\n .
"); return; }
for (i=0, bp=buf; i<len; i++, bp++) {
if (!(i&31)) Tvba("\n ");
else if (!(i&3)) Tvba(" ");