X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=server%2Fstatserv.c;h=4e3db64cd5301b6b6a800e54d90f17b95f580137;hb=6164387805efc64a201204fa81e531a201d77014;hp=be221e211868568003edfc1df55802f776842f4b;hpb=35889bb3a838cd6ea10b19e9198663eccb14762a;p=yaz-moved-to-github.git diff --git a/server/statserv.c b/server/statserv.c index be221e2..4e3db64 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.95 2003-02-20 15:15:04 adam Exp $ + * $Id: statserv.c,v 1.98 2003-03-03 19:57:35 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)