X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarcdisp.c;h=1266d250baace991d7c9eb38e3fd7d535d146d18;hb=a19316337aa3e23b74dac29e5dcad06493ecf083;hp=7dbb7eaab3668b56f18df3e9e34fc5a7c2c7773a;hpb=6ad80c673e9591ae178154cfe2ce002834cfdafd;p=yaz-moved-to-github.git diff --git a/src/marcdisp.c b/src/marcdisp.c index 7dbb7ea..1266d25 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2003, Index Data * See the file LICENSE for details. * - * $Id: marcdisp.c,v 1.2 2003-12-11 00:37:22 adam Exp $ + * $Id: marcdisp.c,v 1.3 2003-12-17 12:28:07 adam Exp $ */ #if HAVE_CONFIG_H @@ -212,6 +212,11 @@ int yaz_marc_decode_wrbuf (yaz_marc_t mt, const char *buf, int bsize, WRBUF wr) if (entry_p >= record_length) return -1; } + if (mt->debug && base_address != entry_p+1) + { + wrbuf_printf (wr," \n", base_address, entry_p+1); + } base_address = entry_p+1; if (mt->xml == YAZ_MARC_ISO2709)