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
Add some Bib-1/SRU diagnostics + mappings
[yaz-moved-to-github.git]
/
src
/
json.c
diff --git
a/src/json.c
b/src/json.c
index
b844b51
..
0f424af
100644
(file)
--- a/
src/json.c
+++ b/
src/json.c
@@
-1,12
+1,14
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
-
/**
* \file json.c
* \brief JSON encoding/decoding
*/
/**
* \file json.c
* \brief JSON encoding/decoding
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/json.h>
#include <yaz/json.h>
@@
-497,7
+499,7
@@
static void wrbuf_json_write(WRBUF b, const char *cp, size_t sz)
void wrbuf_json_puts(WRBUF b, const char *str)
{
void wrbuf_json_puts(WRBUF b, const char *str)
{
- return wrbuf_json_write(b, str, strlen(str));
+ wrbuf_json_write(b, str, strlen(str));
}
void json_write_wrbuf(struct json_node *node, WRBUF result)
}
void json_write_wrbuf(struct json_node *node, WRBUF result)