X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-assoc.cpp;h=95c9b14df0d1091bcd78f1433fbc7ff6910fe854;hb=b217549fd1effa4467ac57a9e7510d75d7b8c446;hp=7da1676140dd843b31ed5bcc24460e88908ba6e0;hpb=4589223b9cad791d79079fcd669d3292d37b88e3;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 7da1676..95c9b14 100644 --- a/src/yaz-z-assoc.cpp +++ b/src/yaz-z-assoc.cpp @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2008 Index Data and Mike Taylor + * Copyright (C) 1998-2009 Index Data and Mike Taylor * See the file LICENSE for details. */ @@ -93,7 +93,8 @@ void Z_Assoc::recv_PDU(const char *buf, int len) } else { - close(); + m_PDU_Observable->shutdown(); + failNotify(); } } @@ -419,6 +420,7 @@ Z_ReferenceId* Z_Assoc::getRefID(char* str) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab