X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fcql2xcql.c;h=5abdb57524b26b1baf5b8cf1382892b6c8704ae0;hp=138afad2e209b5e3587fa6220b1a03217a8d569e;hb=36f0d152f5f2b4d6ef4bcb01a041f4c16c1deaf8;hpb=4c176312acdc3444c9afc820f76a393e64668e52 diff --git a/util/cql2xcql.c b/util/cql2xcql.c index 138afad..5abdb57 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-2009 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