From: Adam Dickmeiss Date: Thu, 29 Apr 2004 21:27:22 +0000 (+0000) Subject: Dont print system error when comstack cannot be created X-Git-Tag: YAZ.2.0.20~21 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=1ed99bdb19b146122c028871f5b707baceab336a Dont print system error when comstack cannot be created --- diff --git a/src/statserv.c b/src/statserv.c index ebd0b70..0882a87 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -5,7 +5,7 @@ * NT threaded server code by * Chas Woodfield, Fretwell Downing Informatics. * - * $Id: statserv.c,v 1.5 2004-01-18 02:28:42 adam Exp $ + * $Id: statserv.c,v 1.6 2004-04-29 21:27:22 adam Exp $ */ #include @@ -654,7 +654,7 @@ static int add_listener(char *where, int what) l = cs_create_host(where, 2, &ap); if (!l) { - yaz_log(LOG_FATAL|LOG_ERRNO, "Failed to listen on %s", where); + yaz_log(LOG_FATAL, "Failed to listen on %s", where); return -1; } if (cs_bind(l, ap, CS_SERVER) < 0)