From: Adam Dickmeiss Date: Tue, 17 Jun 2008 14:05:48 +0000 (+0200) Subject: Prevent COMSTACK use if cs_accept fails X-Git-Tag: v3.0.34~5 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=3939d0f59b399825b75e55172794823a52c68bba;p=yaz-moved-to-github.git Prevent COMSTACK use if cs_accept fails --- diff --git a/src/seshigh.c b/src/seshigh.c index b2dcd41..2a3ff0e 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -398,6 +398,7 @@ void ir_session(IOCHAN h, int event) yaz_log(YLOG_WARN, "accept failed"); destroy_association(assoc); iochan_destroy(h); + return; } iochan_clearflag(h, EVENT_OUTPUT); if (conn->io_pending)