ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/ircd-hybrid-newconf/src/ircd.c
(Generate patch)

Comparing ircd-hybrid/src/ircd.c (file contents):
Revision 69 by adx, Tue Oct 4 16:09:51 2005 UTC vs.
Revision 77 by adx, Tue Oct 4 20:45:31 2005 UTC

# Line 576 | Line 576 | main(int argc, char *argv[])
576    if (!server_state.foreground)
577    {
578      make_daemon();
579 <    close_standard_fds(); /* this needs to be before init_netio()! */
579 >    close_standard_fds(); /* this needs to be before init_comm()! */
580    }
581    else
582      print_startup(getpid());
583 + #endif
584  
585    setup_signals();
585 #endif
586  
587    get_ircd_platform(ircd_platform);
588  
# Line 594 | Line 594 | main(int argc, char *argv[])
594    init_log(logFileName);
595    ServerInfo.can_use_v6 = check_can_use_v6();
596    init_comm();         /* This needs to be setup early ! -- adrian */
597 +
598    /* Check if there is pidfile and daemon already running */
599    check_pidfile(pidFileName);
600  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)