From: Adam Dickmeiss Date: Fri, 24 Apr 2015 08:37:37 +0000 (+0200) Subject: Fix zebrasrv [warn] ir_session (exception) YAZ-838 X-Git-Tag: v5.12.0~4 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=75fff8a1c0b9deb4b402475a408fc69bc2b06a13;p=yaz-moved-to-github.git Fix zebrasrv [warn] ir_session (exception) YAZ-838 --- 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);