X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fseshigh.c;h=a9e248e41a47c2d0aff229f4f78c31c769578c1b;hp=52ced9b5e6c92c8ed3d3bb5a9a164e9317c7b6d5;hb=75fff8a1c0b9deb4b402475a408fc69bc2b06a13;hpb=67791b7efdc55585d77c3889699c9fe155a9abe6 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);