From: Adam Dickmeiss Date: Mon, 13 Oct 2008 15:09:23 +0000 (+0200) Subject: The blocked show now works better (bug 2246). X-Git-Tag: v1.1.0~100 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=243d08d6bd2ebf27ebcd93ac69a74ae5173654c8;p=pazpar2-moved-to-github.git The blocked show now works better (bug 2246). --- diff --git a/src/connection.c b/src/connection.c index 487f511..e1cf29e 100644 --- a/src/connection.c +++ b/src/connection.c @@ -232,6 +232,7 @@ static void connection_handler(IOCHAN i, int event) switch (event) { case ZOOM_EVENT_END: + client_set_state(co->client, Client_Idle); break; case ZOOM_EVENT_SEND_DATA: break; @@ -243,7 +244,6 @@ static void connection_handler(IOCHAN i, int event) client_set_state(co->client, Client_Working); break; case ZOOM_EVENT_RECV_APDU: - client_set_state(co->client, Client_Idle); break; case ZOOM_EVENT_CONNECT: yaz_log(YLOG_LOG, "Connected to %s", client_get_url(cl));