X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaz-record-conv.c;h=eb3a478d9563e5e9680bb6ca9f0104578340d9d7;hb=6cf32fafe48e17e937809e54edf5abc7451d557b;hp=86e2eb4bcde84a737cc1f94e1b928d27bcc56721;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git diff --git a/util/yaz-record-conv.c b/util/yaz-record-conv.c index 86e2eb4..eb3a478 100644 --- a/util/yaz-record-conv.c +++ b/util/yaz-record-conv.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ @@ -72,15 +72,15 @@ int main (int argc, char **argv) } while ((c = getc(f)) != EOF) wrbuf_putc(input_record, c); - - r = yaz_record_conv_record(p, + + r = yaz_record_conv_record(p, wrbuf_buf(input_record), wrbuf_len(input_record), output_record); if (r) { fprintf(stderr, "%s: %s: Error %s\n", - prog, arg, + prog, arg, yaz_record_conv_get_error(p)); no_errors++; }