projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf750f
)
yaz-ztest: fix bad usage of session handle
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 13 Aug 2012 10:55:12 +0000
(12:55 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 13 Aug 2012 10:55:12 +0000
(12:55 +0200)
Bug was introduced when result sets were saved (
271a9c83
).
ztest/ztest.c
patch
|
blob
|
history
diff --git
a/ztest/ztest.c
b/ztest/ztest.c
index
97b8e79
..
c2b3abd
100644
(file)
--- a/
ztest/ztest.c
+++ b/
ztest/ztest.c
@@
-418,13
+418,6
@@
int ztest_search(void *handle, bend_search_rr *rr)
/* this huge function handles extended services */
int ztest_esrequest(void *handle, bend_esrequest_rr *rr)
{
- /* user-defined handle - created in bend_init */
- int *counter = (int*) handle;
-
- yaz_log(log_level, "ESRequest no %d", *counter);
-
- (*counter)++;
-
if (rr->esr->packageName)
yaz_log(log_level, "packagename: %s", rr->esr->packageName);
yaz_log(log_level, "Waitaction: " ODR_INT_PRINTF, *rr->esr->waitAction);