Changes in conf.c [aefaac3a:dd14ecc]
Legend:
- Unmodified
- Added
- Removed
-
conf.c
raefaac3a rdd14ecc 45 45 conf = g_new0( conf_t, 1 ); 46 46 47 conf->iface_in = NULL; 48 conf->iface_out = NULL; 47 conf->iface = NULL; 49 48 conf->port = g_strdup( "6667" ); 50 49 conf->nofork = 0; … … 83 82 if( opt == 'i' ) 84 83 { 85 conf->iface _in= g_strdup( optarg );84 conf->iface = g_strdup( optarg ); 86 85 } 87 86 else if( opt == 'p' ) … … 203 202 else if( g_strcasecmp( ini->key, "daemoninterface" ) == 0 ) 204 203 { 205 g_free( conf->iface _in);206 conf->iface _in= g_strdup( ini->value );204 g_free( conf->iface ); 205 conf->iface = g_strdup( ini->value ); 207 206 } 208 207 else if( g_strcasecmp( ini->key, "daemonport" ) == 0 ) … … 210 209 g_free( conf->port ); 211 210 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 );217 211 } 218 212 else if( g_strcasecmp( ini->key, "authmode" ) == 0 )
Note: See TracChangeset
for help on using the changeset viewer.