server: make cmdfile local to sws
This commit is contained in:
parent
e545a06c30
commit
9684070a5c
@ -150,7 +150,7 @@ static char loglockfile[256];
|
||||
|
||||
/* file in which additional instructions may be found */
|
||||
#define DEFAULT_CMDFILE "log/server.cmd"
|
||||
const char *cmdfile = DEFAULT_CMDFILE;
|
||||
static const char *cmdfile = DEFAULT_CMDFILE;
|
||||
|
||||
/* very-big-path support */
|
||||
#define MAXDOCNAMELEN 140000
|
||||
|
||||
@ -46,8 +46,6 @@ extern const char *path;
|
||||
/* global variable, log file name */
|
||||
extern const char *serverlogfile;
|
||||
|
||||
extern const char *cmdfile;
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <process.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user