X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fyaz-ir-assoc.cpp;h=b38b3fdb5f221de2365bc7f38c8f2e82aafe17da;hb=86726b00b052694e65b036c262f5fe9096554175;hp=d5edf868901aa3586e10b41bf00b32c65b32c29d;hpb=307a8638d6429b0f77ad762d52309c550e45648c;p=yazpp-moved-to-github.git diff --git a/src/yaz-ir-assoc.cpp b/src/yaz-ir-assoc.cpp index d5edf86..b38b3fd 100644 --- a/src/yaz-ir-assoc.cpp +++ b/src/yaz-ir-assoc.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2003, Index Data. * See the file LICENSE for details. * - * $Id: yaz-ir-assoc.cpp,v 1.20 2003-12-16 14:17:01 adam Exp $ + * $Id: yaz-ir-assoc.cpp,v 1.24 2005-06-02 06:40:21 adam Exp $ */ #include @@ -10,6 +10,8 @@ #include #include +using namespace yazpp_1; + Yaz_IR_Assoc::Yaz_IR_Assoc(IYaz_PDU_Observable *the_PDU_Observable) : Yaz_Z_Assoc(the_PDU_Observable) { @@ -21,7 +23,7 @@ Yaz_IR_Assoc::Yaz_IR_Assoc(IYaz_PDU_Observable *the_PDU_Observable) m_host = 0; m_proxy = 0; m_cookie = 0; - m_log = LOG_DEBUG; + m_log = YLOG_DEBUG; const char *db = "Default"; set_databaseNames(1, &db); } @@ -153,7 +155,7 @@ void Yaz_IR_Assoc::get_elementSetName (const char **elementSetName) void Yaz_IR_Assoc::recv_GDU(Z_GDU *apdu, int len) { if (apdu->which == Z_GDU_Z3950) - return recv_Z_PDU(apdu->u.z3950, len); + recv_Z_PDU(apdu->u.z3950, len); } void Yaz_IR_Assoc::recv_Z_PDU(Z_APDU *apdu, int len)