X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fcql2xcql.c;h=23afa1a501ec63d0221d50c10fbc72f2de0c80b9;hp=b5adb40d1db36498860a7abfefea2e36572ad41f;hb=df00da5a3dbba000c75781fbb709e3e1cfb0a927;hpb=c58035e31f65574542f72955007b1935c3669186 diff --git a/util/cql2xcql.c b/util/cql2xcql.c index b5adb40..23afa1a 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-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