Changes in unix.c [764c7d1:eeb85a8]
Legend:
- Unmodified
- Added
- Removed
-
unix.c
r764c7d1 reeb85a8 27 27 #include "commands.h" 28 28 #include "crypting.h" 29 #include "otr.h"30 29 #include "protocols/nogaim.h" 31 30 #include "help.h" … … 48 47 49 48 log_init(); 50 CONF_FILE= g_strdup( CONF_FILE_DEF );49 global.conf_file = g_strdup( CONF_FILE_DEF ); 51 50 global.conf = conf_load( argc, argv ); 52 51 if( global.conf == NULL ) … … 55 54 b_main_init(); 56 55 nogaim_init(); 57 otr_init();58 56 59 57 srand( time( NULL ) ^ getpid() ); … … 126 124 if( !getuid() || !geteuid() ) 127 125 log_message( LOGLVL_WARNING, "BitlBee is running with root privileges. Why?" ); 128 if( help_init( & (global.help), global.helpfile ) == NULL )126 if( help_init( &global.help, global.helpfile ) == NULL ) 129 127 log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE ); 130 128 131 129 b_main_run(); 130 131 /* Mainly good for restarting, to make sure we close the help.txt fd. */ 132 help_free( &global.help ); 132 133 133 134 if( global.restart )
Note: See TracChangeset
for help on using the changeset viewer.