projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use strchr,strrchr instead of index/rindex.
[yaz-moved-to-github.git]
/
util
/
cql2pqf.c
diff --git
a/util/cql2pqf.c
b/util/cql2pqf.c
index
9a11bbc
..
57575db
100644
(file)
--- a/
util/cql2pqf.c
+++ b/
util/cql2pqf.c
@@
-1,4
+1,4
@@
-/* $Id: cql2pqf.c,v 1.3 2004-03-11 09:34:42 adam Exp $
+/* $Id: cql2pqf.c,v 1.5 2004-04-29 21:15:14 adam Exp $
Copyright (C) 2002-2004
Index Data Aps
Copyright (C) 2002-2004
Index Data Aps
@@
-11,6
+11,7
@@
See the file LICENSE.
#include <stdio.h>
#include <yaz/cql.h>
#include <stdio.h>
#include <yaz/cql.h>
+#include <yaz/options.h>
static void usage()
{
static void usage()
{
@@
-21,7
+22,7
@@
static void usage()
int main(int argc, char **argv)
{
cql_transform_t ct;
int main(int argc, char **argv)
{
cql_transform_t ct;
- int r;
+ int r = 0;
int i, iterations = 1;
CQL_parser cp = cql_parser_create();
char *query = 0;
int i, iterations = 1;
CQL_parser cp = cql_parser_create();
char *query = 0;