egd fixed
This commit is contained in:
parent
f01a7ff1e9
commit
37cd159e94
1 changed files with 6 additions and 2 deletions
|
@ -67,8 +67,6 @@
|
|||
#include "sslproc.h"
|
||||
#include "chmode.h"
|
||||
|
||||
/* XXX fix egd!!! */
|
||||
|
||||
/* /quote set variables */
|
||||
struct SetOptions GlobalSetOptions;
|
||||
|
||||
|
@ -633,6 +631,12 @@ main(int argc, char *argv[])
|
|||
rb_lib_init(ircd_log_cb, ircd_restart_cb, ircd_die_cb, !server_state_foreground, maxconnections, DNODE_HEAP_SIZE, FD_HEAP_SIZE);
|
||||
rb_linebuf_init(LINEBUF_HEAP_SIZE);
|
||||
|
||||
if(ConfigFileEntry.use_egd && (ConfigFileEntry.egdpool_path != NULL))
|
||||
{
|
||||
rb_init_prng(ConfigFileEntry.egdpool_path, RB_PRNG_EGD);
|
||||
} else
|
||||
rb_init_prng(NULL, RB_PRNG_DEFAULT);
|
||||
|
||||
init_main_logfile();
|
||||
newconf_init();
|
||||
init_s_conf();
|
||||
|
|
Loading…
Reference in a new issue