From 045c1b65972cd05508ff188e201c17e5da571b43 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 1 Feb 2001 08:52:26 +0000 Subject: [PATCH] Fixed bug regarding inetd mode. --- server/statserv.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/statserv.c b/server/statserv.c index f7d2025..2af20bf 100644 --- a/server/statserv.c +++ b/server/statserv.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2000, Index Data + * Copyright (c) 1995-2001, Index Data * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * @@ -7,7 +7,10 @@ * Chas Woodfield, Fretwell Downing Informatics. * * $Log: statserv.c,v $ - * Revision 1.69 2000-12-01 17:56:41 adam + * Revision 1.70 2001-02-01 08:52:26 adam + * Fixed bug regarding inetd mode. + * + * Revision 1.69 2000/12/01 17:56:41 adam * on WIN32 function statserv_closedown closes socket(s) to provoke close. * * Revision 1.68 2000/11/29 14:22:47 adam @@ -782,6 +785,7 @@ static void inetd_connection(int what) iochan_settimeout(chan, control_block.idle_timeout * 60); addr = cs_addrstr(line); yaz_log(LOG_LOG, "Inetd association from %s", addr ? addr : "[UNKNOWN]"); + assoc->cs_get_mask = EVENT_INPUT; } else { -- 1.7.10.4