From: Adam Dickmeiss Date: Mon, 7 Mar 2005 06:07:33 +0000 (+0000) Subject: No leading spaces in warning comments X-Git-Tag: YAZ.2.1.0~14 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=49dfd3f8ec91ce7ced774d66f5db9a248e574bbf;p=yaz-moved-to-github.git No leading spaces in warning comments --- 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: