From 75fff8a1c0b9deb4b402475a408fc69bc2b06a13 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 24 Apr 2015 10:37:37 +0200 Subject: [PATCH] Fix zebrasrv [warn] ir_session (exception) YAZ-838 --- src/seshigh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/seshigh.c b/src/seshigh.c index 52ced9b..a9e248e 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -469,7 +469,8 @@ void ir_session(IOCHAN h, int event) } if (event & EVENT_EXCEPT) { - yaz_log(YLOG_WARN, "ir_session (exception)"); + if (assoc->state != ASSOC_DEAD) + yaz_log(YLOG_WARN, "ir_session (exception)"); cs_close(conn); destroy_association(assoc); iochan_destroy(h); -- 1.7.10.4