- Timestamp:
- 2008-06-02T12:58:57Z (16 years ago)
- Branches:
- master
- Children:
- 3355a82
- Parents:
- cce0450 (diff), de8e584 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
conf.c
rcce0450 rc821e8a 45 45 conf = g_new0( conf_t, 1 ); 46 46 47 conf->iface = NULL; 47 conf->iface_in = NULL; 48 conf->iface_out = NULL; 48 49 conf->port = g_strdup( "6667" ); 49 50 conf->nofork = 0; … … 83 84 if( opt == 'i' ) 84 85 { 85 conf->iface = g_strdup( optarg );86 conf->iface_in = g_strdup( optarg ); 86 87 } 87 88 else if( opt == 'p' ) … … 132 133 "\n" 133 134 " -I Classic/InetD mode. (Default)\n" 134 " -D Daemon mode. ( Still EXPERIMENTAL!)\n"135 " -D Daemon mode. (one process serves all)\n" 135 136 " -F Forking daemon. (one process per client)\n" 136 137 " -u Run daemon as specified user.\n" … … 203 204 else if( g_strcasecmp( ini->key, "daemoninterface" ) == 0 ) 204 205 { 205 g_free( conf->iface );206 conf->iface = g_strdup( ini->value );206 g_free( conf->iface_in ); 207 conf->iface_in = g_strdup( ini->value ); 207 208 } 208 209 else if( g_strcasecmp( ini->key, "daemonport" ) == 0 ) … … 210 211 g_free( conf->port ); 211 212 conf->port = g_strdup( ini->value ); 213 } 214 else if( g_strcasecmp( ini->key, "clientinterface" ) == 0 ) 215 { 216 g_free( conf->iface_out ); 217 conf->iface_out = g_strdup( ini->value ); 212 218 } 213 219 else if( g_strcasecmp( ini->key, "authmode" ) == 0 )
Note: See TracChangeset
for help on using the changeset viewer.