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
Allow memcached version 0.40
[yaz-moved-to-github.git]
/
src
/
opac_to_xml.c
diff --git
a/src/opac_to_xml.c
b/src/opac_to_xml.c
index
2e37091
..
1f0c9a3
100644
(file)
--- a/
src/opac_to_xml.c
+++ b/
src/opac_to_xml.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.
*/
/**
@@
-31,10
+31,11
@@
static void opac_element_str(WRBUF wrbuf, yaz_iconv_t cd1, yaz_iconv_t cd2,
wrbuf_puts(wrbuf, ">");
pos = wrbuf->pos; /* save position */
wrbuf_puts(wrbuf, ">");
pos = wrbuf->pos; /* save position */
- if (wrbuf_iconv_write_x(wrbuf, cd1, data, strlen(data), 1) && cd2)
+ if (wrbuf_iconv_write2(wrbuf, cd1, data, strlen(data), wrbuf_xmlputs_n)
+ && cd2)
{
wrbuf->pos = pos; /* rewind to pos */
{
wrbuf->pos = pos; /* rewind to pos */
- wrbuf_iconv_write_x(wrbuf, cd2, data, strlen(data), 1);
+ wrbuf_iconv_write2(wrbuf, cd2, data, strlen(data), wrbuf_xmlputs_n);
}
wrbuf_puts(wrbuf, "</");
wrbuf_puts(wrbuf, elem);
}
wrbuf_puts(wrbuf, "</");
wrbuf_puts(wrbuf, elem);