* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
x = yaz_marc8r_42_conv(inp, inbytesleft, &no_read_sub, comb);
if (x)
x = yaz_marc8r_42_conv(inp, inbytesleft, &no_read_sub, comb);
if (x)
- r = yaz_write_marc8_page_chr(cd, outbuf, outbytesleft, page_chr);
- if (r)
- return r;
+ if (page_chr)
+ {
+ r = yaz_write_marc8_page_chr(cd, outbuf, outbytesleft, page_chr);
+ if (r)
+ return r;
+ }