X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fseshigh.c;h=5394cc4b6dfe5d776f5594cf830fa570649741ed;hb=8d691989077a0addcbd840d769dce6700f3d9622;hp=a91c70a15b2533d0cbb17f522d36cfbd043c8c31;hpb=2ede0bb278b22c8ce1cdd48e9a11a5924d433763;p=yaz-moved-to-github.git diff --git a/src/seshigh.c b/src/seshigh.c index a91c70a..5394cc4 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2006, Index Data ApS + * Copyright (C) 1995-2007, 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.108 2007-01-03 08:42:15 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.108 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; resp->implementationVersion = odr_prepend(assoc->encode,