Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r823de9d rcd63d58  
    2727#include "commands.h"
    2828#include "crypting.h"
    29 #include "otr.h"
    3029#include "protocols/nogaim.h"
    3130#include "help.h"
    3231#include "ipc.h"
    33 #include "lib/ssl_client.h"
    3432#include <signal.h>
    3533#include <unistd.h>
     
    5654        b_main_init();
    5755        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();
    6556       
    6657        srand( time( NULL ) ^ getpid() );
     
    6960        if( global.conf->runmode == RUNMODE_INETD )
    7061        {
    71                 log_link( LOGLVL_ERROR, LOGOUTPUT_IRC );
    72                 log_link( LOGLVL_WARNING, LOGOUTPUT_IRC );
    73        
    7462                i = bitlbee_inetd_init();
    7563                log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION );
     
    7866        else if( global.conf->runmode == RUNMODE_DAEMON )
    7967        {
    80                 log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG );
    81                 log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG );
    82 
    8368                i = bitlbee_daemon_init();
    8469                log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION );
Note: See TracChangeset for help on using the changeset viewer.