projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resolve __va_list_tag ** -> va_list * type errors with clang and future GCCs
[jansson.git]
/
src
/
dump.c
diff --git
a/src/dump.c
b/src/dump.c
index
b887515
..
0ffdfc6
100644
(file)
--- a/
src/dump.c
+++ b/
src/dump.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2009
, 2010
Petri Lehtinen <petri@digip.org>
+ * Copyright (c) 2009
-2011
Petri Lehtinen <petri@digip.org>
*
* Jansson is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*
* Jansson is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
@@
-41,8
+41,8
@@
static int dump_to_file(const char *buffer, int size, void *data)
return 0;
}
return 0;
}
-/*
256
spaces (the maximum indentation size) */
-static char whitespace[] = "
";
+/*
32
spaces (the maximum indentation size) */
+static char whitespace[] = " ";
static int dump_indent(size_t flags, int depth, int space, dump_func dump, void *data)
{
static int dump_indent(size_t flags, int depth, int space, dump_func dump, void *data)
{