From 0d16731ebba3c4988791de9d770eccff725f5bda Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 13 Aug 2012 12:55:12 +0200 Subject: [PATCH] yaz-ztest: fix bad usage of session handle Bug was introduced when result sets were saved (271a9c83). --- ztest/ztest.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ztest/ztest.c b/ztest/ztest.c index 97b8e79..c2b3abd 100644 --- 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); -- 1.7.10.4