From 4d1a034feb42a9fd1a42634022a2634556ab613d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 20 May 2008 16:04:11 +0200 Subject: [PATCH] Changed decode failure handling a bit so that failNotify is called. Changed decode failure handling a bit so that failNotify is called. But use shutdown rather than close_session. --- src/yaz-z-assoc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 7da1676..04bea5b 100644 --- a/src/yaz-z-assoc.cpp +++ b/src/yaz-z-assoc.cpp @@ -93,7 +93,8 @@ void Z_Assoc::recv_PDU(const char *buf, int len) } else { - close(); + m_PDU_Observable->shutdown(); + failNotify(); } } -- 1.7.10.4