* NT threaded server code by
* Chas Woodfield, Fretwell Downing Informatics.
*
- * $Id: statserv.c,v 1.96 2003-02-23 14:26:58 adam Exp $
+ * $Id: statserv.c,v 1.98 2003-03-03 19:57:35 adam Exp $
*/
#include <stdio.h>
0 /* SOAP handlers */
};
+static int max_sessions = 0;
+
/*
* handle incoming connect requests.
* The dynamic mode is a bit tricky mostly because we want to avoid
static void *new_session (void *vp);
static int no_sessions = 0;
-static int max_sessions = 0;
/* UNIX listener */
static void listener(IOCHAN h, int event)
}
if (cs_bind(l, ap, CS_SERVER) < 0)
{
- yaz_log(LOG_FATAL|LOG_ERRNO, "Failed to bind to %s",
- where, errno);
+ yaz_log(LOG_FATAL|LOG_ERRNO, "Failed to bind to %s", where);
cs_close (l);
return -1;
}