- Timestamp:
- 2008-06-09T01:52:28Z (16 years ago)
- Branches:
- master
- Children:
- 12ebe74
- Parents:
- e46e077 (diff), 783e9b7 (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
re46e077 rc4a1036 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; … … 82 83 if( opt == 'i' ) 83 84 { 84 conf->iface = g_strdup( optarg );85 conf->iface_in = g_strdup( optarg ); 85 86 } 86 87 else if( opt == 'p' ) … … 202 203 else if( g_strcasecmp( ini->key, "daemoninterface" ) == 0 ) 203 204 { 204 g_free( conf->iface );205 conf->iface = g_strdup( ini->value );205 g_free( conf->iface_in ); 206 conf->iface_in = g_strdup( ini->value ); 206 207 } 207 208 else if( g_strcasecmp( ini->key, "daemonport" ) == 0 ) … … 209 210 g_free( conf->port ); 210 211 conf->port = g_strdup( ini->value ); 212 } 213 else if( g_strcasecmp( ini->key, "clientinterface" ) == 0 ) 214 { 215 g_free( conf->iface_out ); 216 conf->iface_out = g_strdup( ini->value ); 211 217 } 212 218 else if( g_strcasecmp( ini->key, "authmode" ) == 0 )
Note: See TracChangeset
for help on using the changeset viewer.