X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fcql2xcql.c;h=5abdb57524b26b1baf5b8cf1382892b6c8704ae0;hb=4cdc954013878a64caac253e1275a5ca80782206;hp=b5adb40d1db36498860a7abfefea2e36572ad41f;hpb=c58035e31f65574542f72955007b1935c3669186;p=yaz-moved-to-github.git diff --git a/util/cql2xcql.c b/util/cql2xcql.c index b5adb40..5abdb57 100644 --- a/util/cql2xcql.c +++ b/util/cql2xcql.c @@ -1,11 +1,7 @@ -/* $Id: cql2xcql.c,v 1.5 2004-04-29 21:15:14 adam Exp $ - Copyright (C) 2002-2004 - 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