X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-assoc.cpp;h=bb696ce5567c5a5ffd9fd5ab2988535b7c25ff72;hb=ea5275ed931fa06ac765dfb49e5af2036a6ec8b3;hp=08e197652fe4709826be6393c5778ed3f1d73cdf;hpb=50fbcf20ab48480e819ec5aef312a72c684bf213;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 08e1976..bb696ce 100644 --- a/src/yaz-z-assoc.cpp +++ b/src/yaz-z-assoc.cpp @@ -1,8 +1,8 @@ /* - * Copyright (c) 1998-2001, Index Data. + * Copyright (c) 1998-2003, Index Data. * See the file LICENSE for details. * - * $Id: yaz-z-assoc.cpp,v 1.28 2003-10-16 16:10:43 adam Exp $ + * $Id: yaz-z-assoc.cpp,v 1.29 2003-10-20 18:31:44 adam Exp $ */ #include @@ -63,6 +63,7 @@ int Yaz_Z_Assoc::set_APDU_yazlog(int v) { int old = m_APDU_yazlog; m_APDU_yazlog = v; + return old; } const char *Yaz_Z_Assoc::get_APDU_log() @@ -92,6 +93,7 @@ void Yaz_Z_Assoc::recv_PDU(const char *buf, int len) else { close(); + failNotify(); } }