X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarcdisp.c;h=ec4218ebc8e916a989b990697c0d74ebbdd29a27;hb=4feb736e570d15bbc8254d593e0c44ed5066be85;hp=c23b1b64ed94d9e395376ba689cebb4813ea68d4;hpb=f514c7fcb9cd0c205b308a1213112317d564874c;p=yaz-moved-to-github.git diff --git a/src/marcdisp.c b/src/marcdisp.c index c23b1b6..ec4218e 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: marcdisp.c,v 1.19 2005-03-06 21:27:09 adam Exp $ + * $Id: marcdisp.c,v 1.20 2005-03-07 06:07:33 adam Exp $ */ /** @@ -265,7 +265,7 @@ int yaz_marc_decode_wrbuf (yaz_marc_t mt, const char *buf, int bsize, WRBUF wr) if (base_address != entry_p+1) { if (produce_warnings) - wrbuf_printf (wr," \n", base_address, entry_p+1); } if (mt->xml == YAZ_MARC_ISO2709) @@ -524,9 +524,9 @@ int yaz_marc_decode_wrbuf (yaz_marc_t mt, const char *buf, int bsize, WRBUF wr) if (mt->xml == YAZ_MARC_LINE) wrbuf_puts (wr, mt->endline_str); if (i < end_offset) - wrbuf_printf(wr, " \n", data_length); + wrbuf_printf(wr, "\n", data_length); if (buf[i] != ISO2709_RS && buf[i] != ISO2709_FS) - wrbuf_printf(wr, " \n", data_length); + wrbuf_printf(wr, "\n", data_length); switch(mt->xml) { case YAZ_MARC_SIMPLEXML: