From: Adam Dickmeiss Date: Mon, 20 Oct 2008 19:36:42 +0000 (+0200) Subject: Removed client_set_requestid which is not in use. X-Git-Tag: v1.1.0~84 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=66e0e8a545c0c303f2fc988ac6732e9d9438a937;p=pazpar2-moved-to-github.git Removed client_set_requestid which is not in use. --- diff --git a/src/client.c b/src/client.c index 43adcad..1acd2ea 100644 --- a/src/client.c +++ b/src/client.c @@ -75,7 +75,6 @@ struct client { int hits; int record_offset; int setno; - int requestid; // ID of current outstanding request int diagnostic; enum client_state state; struct show_raw *show_raw; @@ -158,12 +157,6 @@ const char *client_get_pquery(struct client *cl) return cl->pquery; } -void client_set_requestid(struct client *cl, int id) -{ - cl->requestid = id; -} - - static void client_send_raw_present(struct client *cl); int client_show_raw_begin(struct client *cl, int position, @@ -496,7 +489,6 @@ struct client *client_create(void) r->hits = 0; r->record_offset = 0; r->setno = 0; - r->requestid = -1; r->diagnostic = 0; r->state = Client_Disconnected; r->show_raw = 0; diff --git a/src/client.h b/src/client.h index 207bf9d..d7cb149 100644 --- a/src/client.h +++ b/src/client.h @@ -59,8 +59,6 @@ void client_set_database(struct client *cl, struct session_database *db); struct session *client_get_session(struct client *cl); const char *client_get_pquery(struct client *cl); -void client_set_requestid(struct client *cl, int id); - void client_init_response(struct client *cl, Z_APDU *a); void client_search_response(struct client *cl); void client_record_response(struct client *cl);