mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ServerRunning is not used too
This commit is contained in:
parent
aa6c90dec7
commit
31fd33171e
1 changed files with 0 additions and 4 deletions
|
@ -67,7 +67,6 @@
|
|||
#include "serno.h"
|
||||
#include "sslproc.h"
|
||||
|
||||
extern int ServerRunning;
|
||||
extern struct LocalUser meLocalUser;
|
||||
extern char **myargv;
|
||||
|
||||
|
@ -445,7 +444,6 @@ main(int argc, char *argv[])
|
|||
*/
|
||||
setup_corefile();
|
||||
|
||||
ServerRunning = 0;
|
||||
/* It ain't random, but it ought to be a little harder to guess */
|
||||
srand(SystemTime.tv_sec ^ (SystemTime.tv_usec | (getpid() << 20)));
|
||||
memset(&me, 0, sizeof(me));
|
||||
|
@ -648,8 +646,6 @@ main(int argc, char *argv[])
|
|||
if(splitmode)
|
||||
check_splitmode_ev = rb_event_add("check_splitmode", check_splitmode, NULL, 2);
|
||||
|
||||
ServerRunning = 1;
|
||||
|
||||
print_startup(getpid());
|
||||
|
||||
rb_lib_loop(250);
|
||||
|
|
Loading…
Reference in a new issue