X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fcql2xcql.c;h=23afa1a501ec63d0221d50c10fbc72f2de0c80b9;hb=2788a5e4758bd50376bf2d69409aef9c77b05c42;hp=138afad2e209b5e3587fa6220b1a03217a8d569e;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/util/cql2xcql.c b/util/cql2xcql.c index 138afad..23afa1a 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-2010 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