projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return NULL if peer is not yet known
[yazpp-moved-to-github.git]
/
zlint
/
zlint.cpp
diff --git
a/zlint/zlint.cpp
b/zlint/zlint.cpp
index
45c9b23
..
46cbf8e
100644
(file)
--- a/
zlint/zlint.cpp
+++ b/
zlint/zlint.cpp
@@
-2,7
+2,7
@@
* Copyright (c) 2004, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: zlint.cpp,v 1.7 2004-11-30 21:10:31 adam Exp $
+ * $Id: zlint.cpp,v 1.10 2005-06-08 13:28:06 adam Exp $
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-12,7
+12,7
@@
#include <yaz/options.h>
#include <yaz/otherinfo.h>
#include <yaz/charneg.h>
#include <yaz/options.h>
#include <yaz/otherinfo.h>
#include <yaz/charneg.h>
-#include <yaz/ylog.h>
+#include <yaz/log.h>
#include <zlint.h>
#include <zlint.h>
@@
-29,8
+29,8
@@
private:
int m_test_reported;
};
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;
{
m_PDU_Observable = the_PDU_Observable;
@@
-135,8
+135,8
@@
void Zlint::close_goto_next()
timeout(30);
}
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;
}
{
return 0;
}
@@
-160,8
+160,6
@@
int Zlint::initResponseGetVersion(Z_InitResponse *init)
if (ODR_MASK_GET(init->protocolVersion, no))
{
no = i+1;
if (ODR_MASK_GET(init->protocolVersion, no))
{
no = i+1;
- if (off)
- yaz_log(YLOG_WARN, "%sbad formatted version");
}
else
off = 1;
}
else
off = 1;