/* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2011 Index Data and Mike Taylor
+ * Copyright (C) 1998-2012 Index Data and Mike Taylor
* See the file LICENSE for details.
*/
Z_InitRequest *init = apdu->u.initRequest;
z->msg_check_for("for init message sizes %d", m_no);
-
+
/* set all options.. see what target really supports .. */
ODR_MASK_SET(init->protocolVersion, Z_ProtocolVersion_3);
gdu->u.z3950 && gdu->u.z3950->which == Z_APDU_initResponse)
{
Z_InitResponse *init = gdu->u.z3950->u.initResponse;
-
+
if (m_no * m_no * 100000 + 2000 < *init->maximumRecordSize)
z->msg_check_fail("maximumRecordSize bigger than proposed size");
if (m_no * m_no * 100000 + 2000 < *init->preferredMessageSize)