From b69ffeb3020d001f75730fe48fa9e462761c69e1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 20 Oct 2008 22:17:30 +0200 Subject: [PATCH] Removed session member requestid (has no effect). --- src/logic.c | 2 -- src/pazpar2.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/logic.c b/src/logic.c index 98a56a3..a882ac3 100644 --- a/src/logic.c +++ b/src/logic.c @@ -530,7 +530,6 @@ enum pazpar2_error_code search(struct session *se, se->reclist = 0; se->num_termlists = 0; criteria = parse_filter(se->nmem, filter); - se->requestid++; live_channels = select_targets(se, criteria); if (live_channels) { @@ -701,7 +700,6 @@ struct session *new_session(NMEM nmem) session->number_of_warnings_unknown_elements = 0; session->num_termlists = 0; session->reclist = 0; - session->requestid = -1; session->clients = 0; session->expected_maxrecs = 0; session->session_nmem = nmem; diff --git a/src/pazpar2.h b/src/pazpar2.h index 4330881..ded428d 100644 --- a/src/pazpar2.h +++ b/src/pazpar2.h @@ -127,7 +127,6 @@ struct session_watchentry { struct session { struct session_database *databases; // All databases, settings overriden struct client *clients; // Clients connected for current search - int requestid; NMEM session_nmem; // Nmem for session-permanent storage NMEM nmem; // Nmem for each operation (i.e. search, result set, etc) WRBUF wrbuf; // Wrbuf for scratch(i.e. search) -- 1.7.10.4