ServerRunning is not used too
This commit is contained in:
parent
f9d784da28
commit
f1c998aef1
|
@ -67,7 +67,6 @@
|
||||||
#include "serno.h"
|
#include "serno.h"
|
||||||
#include "sslproc.h"
|
#include "sslproc.h"
|
||||||
|
|
||||||
extern int ServerRunning;
|
|
||||||
extern struct LocalUser meLocalUser;
|
extern struct LocalUser meLocalUser;
|
||||||
extern char **myargv;
|
extern char **myargv;
|
||||||
|
|
||||||
|
@ -445,7 +444,6 @@ main(int argc, char *argv[])
|
||||||
*/
|
*/
|
||||||
setup_corefile();
|
setup_corefile();
|
||||||
|
|
||||||
ServerRunning = 0;
|
|
||||||
/* It ain't random, but it ought to be a little harder to guess */
|
/* It ain't random, but it ought to be a little harder to guess */
|
||||||
srand(SystemTime.tv_sec ^ (SystemTime.tv_usec | (getpid() << 20)));
|
srand(SystemTime.tv_sec ^ (SystemTime.tv_usec | (getpid() << 20)));
|
||||||
memset(&me, 0, sizeof(me));
|
memset(&me, 0, sizeof(me));
|
||||||
|
@ -648,8 +646,6 @@ main(int argc, char *argv[])
|
||||||
if(splitmode)
|
if(splitmode)
|
||||||
check_splitmode_ev = rb_event_add("check_splitmode", check_splitmode, NULL, 2);
|
check_splitmode_ev = rb_event_add("check_splitmode", check_splitmode, NULL, 2);
|
||||||
|
|
||||||
ServerRunning = 1;
|
|
||||||
|
|
||||||
print_startup(getpid());
|
print_startup(getpid());
|
||||||
|
|
||||||
rb_lib_loop(250);
|
rb_lib_loop(250);
|
||||||
|
|
Loading…
Reference in New Issue