From 283660d9752a77fe9578b070c632bafae7595189 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 8 Dec 2006 13:53:26 +0000 Subject: [PATCH] Fixed bug regarding incomplete incoming packages. The bug was introduced in version 1.105 of seshigh.c (and not part of official YAZ release). --- src/seshigh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/seshigh.c b/src/seshigh.c index a91c70a..fd9e7cf 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: seshigh.c,v 1.106 2006-12-06 21:35:58 adam Exp $ + * $Id: seshigh.c,v 1.107 2006-12-08 13:53:26 adam Exp $ */ /** * \file seshigh.c @@ -309,7 +309,7 @@ int ir_read(IOCHAN h, int event) if (conn->io_pending & CS_WANT_WRITE) assoc->cs_get_mask |= EVENT_OUTPUT; iochan_setflag(h, assoc->cs_get_mask); - return 1; + return 0; } /* we got a complete PDU. Let's decode it */ yaz_log(YLOG_DEBUG, "Got PDU, %d bytes: lead=%02X %02X %02X", res, @@ -2351,7 +2351,7 @@ static Z_APDU *process_initRequest(association *assoc, request *reqb) assoc->init->implementation_name, odr_prepend(assoc->encode, "GFS", resp->implementationName)); - version = odr_strdup(assoc->encode, "$Revision: 1.106 $"); + version = odr_strdup(assoc->encode, "$Revision: 1.107 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; resp->implementationVersion = odr_prepend(assoc->encode, -- 1.7.10.4