projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GFS: bail out of fetch if last_in_set is set
[yaz-moved-to-github.git]
/
src
/
odr_util.c
diff --git
a/src/odr_util.c
b/src/odr_util.c
index
22a6691
..
17d1582
100644
(file)
--- a/
src/odr_util.c
+++ b/
src/odr_util.c
@@
-17,10
+17,13
@@
void odr_prname(ODR o, const char *name)
{
void odr_prname(ODR o, const char *name)
{
- if (name)
- odr_printf(o, "%*s%s ", o->op->indent*4, "", name);
+ if (o->op->indent < 16)
+ odr_printf(o, "%*s", o->op->indent * 2, "");
else
else
- odr_printf(o, "%*s", o->op->indent*4, "");
+ odr_printf(o, "level=%-7d%*s", o->op->indent,
+ 2 * (o->op->indent % 8) , "");
+ if (name)
+ odr_printf(o, "%s ", name);
}
int odp_more_chunks(ODR o, const unsigned char *base, int len)
}
int odp_more_chunks(ODR o, const unsigned char *base, int len)