projects
/
jansson.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef778c
)
Don't dump extra spaces when indenting
author
Petri Lehtinen
<petri@digip.org>
Thu, 9 Jul 2009 17:54:29 +0000
(20:54 +0300)
committer
Petri Lehtinen
<petri@digip.org>
Thu, 9 Jul 2009 18:01:43 +0000
(21:01 +0300)
src/dump.c
patch
|
blob
|
history
diff --git
a/src/dump.c
b/src/dump.c
index
b8bd460
..
ad22acd
100644
(file)
--- a/
src/dump.c
+++ b/
src/dump.c
@@
-54,8
+54,7
@@
static int dump_indent(uint32_t flags, int depth, dump_func dump, void *data)
memset(ws_buffer, ' ', ws_count);
return dump(ws_buffer, ws_count, data);
}
- else
- return dump(" ", 1, data);
+ return 0;
}
static int dump_string(const char *str, dump_func dump, void *data)