From 1ed99bdb19b146122c028871f5b707baceab336a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 29 Apr 2004 21:27:22 +0000 Subject: [PATCH] Dont print system error when comstack cannot be created --- src/statserv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.10.4