From: Adam Dickmeiss Date: Thu, 15 Jan 2004 10:05:56 +0000 (+0000) Subject: Avoid reverse lookup in GFS X-Git-Tag: YAZ.2.0.10~15 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=26978ebf6e44361779446e66a9891149d9032d59;p=yaz-moved-to-github.git Avoid reverse lookup in GFS --- diff --git a/src/statserv.c b/src/statserv.c index 692e3b2..8ef8acb 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -6,7 +6,7 @@ * NT threaded server code by * Chas Woodfield, Fretwell Downing Informatics. * - * $Id: statserv.c,v 1.2 2003-11-28 09:02:19 mike Exp $ + * $Id: statserv.c,v 1.3 2004-01-15 10:05:56 adam Exp $ */ #include @@ -650,7 +650,7 @@ static int add_listener(char *where, int what) yaz_log(LOG_LOG, "Adding %s %s listener on %s", mode, what == PROTO_SR ? "SR" : "Z3950", where); - l = cs_create_host(where, 0, &ap); + l = cs_create_host(where, 2, &ap); if (!l) { yaz_log(LOG_FATAL|LOG_ERRNO, "Failed to listen on %s", where);