X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fcql2xcql.c;h=cee264668d00647fec9164e1309b311f3851ea1a;hp=138afad2e209b5e3587fa6220b1a03217a8d569e;hb=d940392c53c32ccf76fb287cc5b997b9e921a431;hpb=4c176312acdc3444c9afc820f76a393e64668e52 diff --git a/util/cql2xcql.c b/util/cql2xcql.c index 138afad..cee2646 100644 --- a/util/cql2xcql.c +++ b/util/cql2xcql.c @@ -1,11 +1,7 @@ -/* $Id: cql2xcql.c,v 1.6 2005-01-15 19:47:15 adam Exp $ - Copyright (C) 1995-2005, Index Data ApS - Index Data Aps - -This file is part of the YAZ toolkit. - -See the file LICENSE. -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data + * See the file LICENSE for details. + */ #include #include @@ -27,20 +23,20 @@ int main(int argc, char **argv) switch (ret) { case 0: - fname = arg; + fname = arg; break; - case 'n': - iterations = atoi(arg); - break; - } + case 'n': + iterations = atoi(arg); + break; + } } cp = cql_parser_create(); if (fname) { - int i; - for (i = 0; i