egd fixed
This commit is contained in:
parent
5d2fe5036e
commit
2b454b76dc
|
@ -67,8 +67,6 @@
|
||||||
#include "sslproc.h"
|
#include "sslproc.h"
|
||||||
#include "chmode.h"
|
#include "chmode.h"
|
||||||
|
|
||||||
/* XXX fix egd!!! */
|
|
||||||
|
|
||||||
/* /quote set variables */
|
/* /quote set variables */
|
||||||
struct SetOptions GlobalSetOptions;
|
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_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);
|
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();
|
init_main_logfile();
|
||||||
newconf_init();
|
newconf_init();
|
||||||
init_s_conf();
|
init_s_conf();
|
||||||
|
|
Loading…
Reference in New Issue