X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-assoc.cpp;h=743726be4b3dc440192e62a443c86a6989d6b87d;hb=b6131942246f587188208dd9df6f5332839101d2;hp=63b346a11bd49cbd07bebd844fc05fbee95b0d06;hpb=4b3585940162cf9ca65ca4a6914c0addcde50eef;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 63b346a..743726b 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-2010 Index Data and Mike Taylor * See the file LICENSE for details. */ @@ -93,7 +93,7 @@ void Z_Assoc::recv_PDU(const char *buf, int len) } else { - close(); + m_PDU_Observable->shutdown(); failNotify(); } } @@ -420,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