projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed decompression buffer overflow.
[idzebra-moved-to-github.git]
/
index
/
apitest.c
diff --git
a/index/apitest.c
b/index/apitest.c
index
7207b97
..
9ed3508
100644
(file)
--- a/
index/apitest.c
+++ b/
index/apitest.c
@@
-149,7
+149,7
@@
int main (int argc, char **argv)
}
/* result set name will be called 1,2, etc */
- sprintf (setname, "%d", i);
+ sprintf (setname, "%d", argno);
/* fire up the search */
zebra_search_rpn (zh, odr_input, odr_output, query, 1, &base, setname);