0
0
Fork 0
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:
Valery Yatsko 2008-04-08 15:38:18 +04:00
parent aa6c90dec7
commit 31fd33171e

View file

@ -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);