diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-06-30 00:41:39 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-06-30 00:41:39 +0100 |
commit | f5d1b3185140e690a6503b9e68c7ea28655b405e (patch) | |
tree | f679a139ecca219aa2c7a07adcaefd3000c8c801 /unix.c | |
parent | cd63d5822e76a6126bb3017567c9ce2869a44e0b (diff) | |
parent | 913545e54123296fb8229ecad2c77a6e899e0242 (diff) |
Merging changes from Jelmer: It's now possible to cross-compile a Windows
version of BitlBee from Linux. No working SSL support yet though!
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -59,12 +59,18 @@ int main( int argc, char *argv[] ) if( global.conf->runmode == RUNMODE_INETD ) { + log_link( LOGLVL_ERROR, LOGOUTPUT_IRC ); + log_link( LOGLVL_WARNING, LOGOUTPUT_IRC ); + i = bitlbee_inetd_init(); log_message( LOGLVL_INFO, "Bitlbee %s starting in inetd mode.", BITLBEE_VERSION ); } else if( global.conf->runmode == RUNMODE_DAEMON ) { + log_link( LOGLVL_ERROR, LOGOUTPUT_SYSLOG ); + log_link( LOGLVL_WARNING, LOGOUTPUT_SYSLOG ); + i = bitlbee_daemon_init(); log_message( LOGLVL_INFO, "Bitlbee %s starting in daemon mode.", BITLBEE_VERSION ); } @@ -207,3 +213,5 @@ double gettime() gettimeofday( time, 0 ); return( (double) time->tv_sec + (double) time->tv_usec / 1000000 ); } + + |