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
Revert "Sort: no need for present/search handling for sort response"
[yaz-moved-to-github.git]
/
src
/
marcdisp.c
diff --git
a/src/marcdisp.c
b/src/marcdisp.c
index
edb0c9b
..
cb34dde
100644
(file)
--- a/
src/marcdisp.c
+++ b/
src/marcdisp.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-1312,8
+1312,7
@@
int yaz_marc_write_json(yaz_marc_t mt, WRBUF w)
int i;
for (i = 0; n->u.datafield.indicator[i]; i++)
{
int i;
for (i = 0; n->u.datafield.indicator[i]; i++)
{
- wrbuf_puts(w, ",\n");
- wrbuf_printf(w, "\t\t\t\t\"ind%d\":\"%c\"", i + 1,
+ wrbuf_printf(w, ",\n\t\t\t\t\"ind%d\":\"%c\"", i + 1,
n->u.datafield.indicator[i]);
}
}
n->u.datafield.indicator[i]);
}
}