Changeset 74c119d for conf.c


Ignore:
Timestamp:
2006-01-15T15:42:20Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
6fda350
Parents:
13caf0a
Message:

Better DIE implementation, added SO_REUSEADDR to listening socket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    r13caf0a r74c119d  
    9292                }
    9393                else if( opt == 'n' )
    94                         conf->nofork=1;
     94                        conf->nofork = 1;
    9595                else if( opt == 'v' )
    96                         conf->verbose=1;
     96                        conf->verbose = 1;
    9797                else if( opt == 'I' )
    98                         conf->runmode=RUNMODE_INETD;
     98                        conf->runmode = RUNMODE_INETD;
    9999                else if( opt == 'D' )
    100                         conf->runmode=RUNMODE_DAEMON;
     100                        conf->runmode = RUNMODE_DAEMON;
    101101                else if( opt == 'F' )
    102                         conf->runmode=RUNMODE_FORKDAEMON;
     102                        conf->runmode = RUNMODE_FORKDAEMON;
    103103                else if( opt == 'c' )
    104104                {
     
    108108                                CONF_FILE = g_strdup( optarg );
    109109                                g_free( conf );
     110                                /* Re-evaluate arguments. */
     111                                optind = 1;
    110112                                return( conf_load( argc, argv ) );
    111113                        }
Note: See TracChangeset for help on using the changeset viewer.