* Copyright (c) 2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: zlint.cpp,v 1.5 2004-03-25 23:14:07 adam Exp $
+ * $Id: zlint.cpp,v 1.10 2005-06-08 13:28:06 adam Exp $
*/
#include <stdio.h>
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;
xfree(m_host);
m_host = xstrdup(cp);
client(m_host);
+ timeout(30);
const char *basep;
cs_get_host_args(m_host, &basep);
{
close();
client(m_host);
+ timeout(30);
return;
}
}
{
close();
client(m_host);
+ timeout(30);
return;
}
}
{
close();
client(m_host);
+ timeout(30);
return;
}
}
m_cur_test = m_cur_test->m_next;
if (m_cur_test)
client(m_host);
+ 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;
}
if (ODR_MASK_GET(init->protocolVersion, no))
{
no = i+1;
- if (off)
- yaz_log(LOG_WARN, "%sbad formatted version");
}
else
off = 1;