Changes in unix.c [823de9d:cd63d58]
Legend:
- Unmodified
- Added
- Removed
-
unix.c
r823de9d rcd63d58 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" 32 31 #include "ipc.h" 33 #include "lib/ssl_client.h"34 32 #include <signal.h> 35 33 #include <unistd.h> … … 56 54 b_main_init(); 57 55 nogaim_init(); 58 /* Ugly Note: libotr and gnutls both use libgcrypt. libgcrypt59 has a process-global config state whose initialization happpens60 twice if libotr and gnutls are used together. libotr installs custom61 memory management functions for libgcrypt while our gnutls module62 uses the defaults. Therefore we initialize OTR after SSL. *sigh* */63 ssl_init();64 otr_init();65 56 66 57 srand( time( NULL ) ^ getpid() ); … … 69 60 if( global.conf->runmode == RUNMODE_INETD ) 70 61 { 71 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );72 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );73 74 62 i = bitlbee_inetd_init(); 75 63 log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION ); … … 78 66 else if( global.conf->runmode == RUNMODE_DAEMON ) 79 67 { 80 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG );81 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG );82 83 68 i = bitlbee_daemon_init(); 84 69 log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION );
Note: See TracChangeset
for help on using the changeset viewer.