X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fyaz-record-conv.c;h=71f2f46c183eb7ea6f959c183d0e2457931cc8d1;hp=c18d0a4732540a7b1a9b34c08914c4d9a12d5eb3;hb=2b35fdfa5fd016e7a0c99b0cd0958c9ce8606ef9;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/util/yaz-record-conv.c b/util/yaz-record-conv.c index c18d0a4..71f2f46 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-2012 Index Data + * Copyright (C) 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++; }