X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=zlint%2Fzlint.cpp;h=46cbf8e195e47113ac4ed2a10093de08ce51ad0b;hb=2d21fb7f6fdf924a2dcbb69722425f555b80821f;hp=3987a2181c120fe995197369348d7dcd6dedaf2e;hpb=491fb0058392b83d1e44eaa7494e827f3530f3dd;p=yazpp-moved-to-github.git diff --git a/zlint/zlint.cpp b/zlint/zlint.cpp index 3987a21..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.8 2004-12-13 20:50:54 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(YLOG_WARN, "%sbad formatted version"); } else off = 1;