X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=zlint%2Fzlint.cpp;h=46cbf8e195e47113ac4ed2a10093de08ce51ad0b;hb=6196cb9e06a6cc83892e1ad16daa1fb921111e28;hp=6d68af2e7f50c28f491a645ca462ebff65d3f392;hpb=eb15a0d2234ee4020a738cf7730091b3475ff793;p=yazpp-moved-to-github.git diff --git a/zlint/zlint.cpp b/zlint/zlint.cpp index 6d68af2..46cbf8e 100644 --- a/zlint/zlint.cpp +++ b/zlint/zlint.cpp @@ -2,7 +2,7 @@ * Copyright (c) 2004, Index Data. * See the file LICENSE for details. * - * $Id: zlint.cpp,v 1.6 2004-09-06 07:50:51 adam Exp $ + * $Id: zlint.cpp,v 1.10 2005-06-08 13:28:06 adam Exp $ */ #include @@ -29,8 +29,8 @@ private: int m_test_reported; }; -Zlint::Zlint(IYaz_PDU_Observable *the_PDU_Observable) : - Yaz_Z_Assoc(the_PDU_Observable) +Zlint::Zlint(IPDU_Observable *the_PDU_Observable) : + Z_Assoc(the_PDU_Observable) { m_PDU_Observable = the_PDU_Observable; @@ -135,8 +135,8 @@ void Zlint::close_goto_next() timeout(30); } -IYaz_PDU_Observer *Zlint::sessionNotify( - IYaz_PDU_Observable *the_PDU_Observable, int fd) +IPDU_Observer *Zlint::sessionNotify( + IPDU_Observable *the_PDU_Observable, int fd) { return 0; } @@ -160,8 +160,6 @@ int Zlint::initResponseGetVersion(Z_InitResponse *init) if (ODR_MASK_GET(init->protocolVersion, no)) { no = i+1; - if (off) - yaz_log(LOG_WARN, "%sbad formatted version"); } else off = 1;