X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fstatserv.c;h=8ef8acb635cc948bf87ea5913f2ff3a7034249cf;hb=4fb9818b0657f561397b29e55d87cc8d4f194436;hp=692e3b2cfd186d3f063fbbd5560335afa5315b47;hpb=5bd7d278653dd178ca7da5a1bcc79724017ecd5e;p=yaz-moved-to-github.git 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);