X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmarc_read_line.c;h=ff5f38e5f164c2c1dd811986027a9af27caf5a93;hb=5bc2ee09e4dff0f872ce738a5327bced915e3474;hp=85356c9bd00ee567834c7e0a459c9e8a7f78f765;hpb=dd339eebb35a0068c15962d9a6872a95b79755f7;p=yaz-moved-to-github.git diff --git a/src/marc_read_line.c b/src/marc_read_line.c index 85356c9..ff5f38e 100644 --- a/src/marc_read_line.c +++ b/src/marc_read_line.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -91,7 +91,7 @@ static int yaz_marc_line_gets(int (*getbyte)(void *client_data), return 1; } - + int yaz_marc_read_line(yaz_marc_t mt, int (*getbyte)(void *client_data), void (*ungetbyte)(int b, void *client_data), @@ -195,7 +195,7 @@ int yaz_marc_read_line(yaz_marc_t mt, { const char *next; size_t len; - + assert(cp[0] == marker_ch); cp++; next = cp;