X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaz-record-conv.c;h=24df9d026b820b01c9cb1be55155e528c14852a9;hb=5242cb5a8634bfa38b9333ff7f903e718ac6e292;hp=d05ea1156dea16f27069fb2c9f5675e49f29ca50;hpb=aa688c4388adbbbf022e0dbfad51e9a12eef37a1;p=yaz-moved-to-github.git diff --git a/util/yaz-record-conv.c b/util/yaz-record-conv.c index d05ea11..24df9d0 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-2010 Index Data + * Copyright (C) 1995-2012 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++; }