From bfdd572933425be072c526a50af9cc2ba3fdbbd1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 23 Feb 2003 14:46:10 +0000 Subject: [PATCH] Fix WIN32 compile --- server/statserv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/statserv.c b/server/statserv.c index 199c6f4..b041f1a 100644 --- a/server/statserv.c +++ b/server/statserv.c @@ -6,7 +6,7 @@ * 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.97 2003-02-23 14:46:10 adam Exp $ */ #include @@ -80,6 +80,8 @@ statserv_options_block control_block = { 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 @@ -370,7 +372,6 @@ void sigterm(int sig) 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) -- 1.7.10.4