projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
afd0e36
)
Use hex character entity
YAZ.1.9.1
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 4 Oct 2002 19:11:17 +0000
(19:11 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 4 Oct 2002 19:11:17 +0000
(19:11 +0000)
util/marcdisp.c
patch
|
blob
|
history
diff --git
a/util/marcdisp.c
b/util/marcdisp.c
index
342e5d1
..
235f040
100644
(file)
--- a/
util/marcdisp.c
+++ b/
util/marcdisp.c
@@
-2,7
+2,7
@@
* Copyright (c) 1995-2002, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1995-2002, Index Data
* See the file LICENSE for details.
*
- * $Id: marcdisp.c,v 1.22 2002-10-04 11:24:55 adam Exp $
+ * $Id: marcdisp.c,v 1.23 2002-10-04 19:11:17 adam Exp $
*/
#if HAVE_CONFIG_H
*/
#if HAVE_CONFIG_H
@@
-232,9
+232,9
@@
int yaz_marc_decode (const char *buf, WRBUF wr, int debug, int bsize, int xml)
buf[i] != ISO2709_FS && i < end_offset)
{
if (xml && buf[i] == '<')
buf[i] != ISO2709_FS && i < end_offset)
{
if (xml && buf[i] == '<')
- wrbuf_puts(wr, "<");
+ wrbuf_puts(wr, "<");
else if (xml && buf[i] == '&')
else if (xml && buf[i] == '&')
- wrbuf_puts(wr, "&");
+ wrbuf_puts(wr, "&");
else
wrbuf_putc (wr, buf[i]);
i++;
else
wrbuf_putc (wr, buf[i]);
i++;