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