Changeset 57c4fc0


Ignore:
Timestamp:
2006-01-22T09:19:03Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a49dcd5
Parents:
54879ab (diff), 87de505 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Error checking for accept(). Have to find out why it went wrong (and fork()ed a bit too much) last night.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.c

    r54879ab r57c4fc0  
    239239        pid_t client_pid = 0;
    240240       
     241        if( new_socket == -1 )
     242        {
     243                log_message( LOGLVL_WARNING, "Could not accept new connection: %s", strerror( errno ) );
     244                return TRUE;
     245        }
     246       
    241247        if( global.conf->runmode == RUNMODE_FORKDAEMON )
    242248        {
  • ipc.c

    r54879ab r57c4fc0  
    105105static void ipc_child_cmd_die( irc_t *irc, char **cmd )
    106106{
    107         irc_abort( irc, 1, "Shutdown requested by operator" );
     107        irc_abort( irc, 0, "Shutdown requested by operator" );
    108108}
    109109
Note: See TracChangeset for help on using the changeset viewer.