diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-07 17:33:02 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-07 17:33:02 +0100 | 
| commit | daae10fbfe16bac26f74af91faf253d377f1b166 (patch) | |
| tree | e7870e81be568ab10abcc1bf8639a9191dbbb9c1 /conf.c | |
| parent | 289bd2d47ff58f42879ad50ebbc1b193831e4a78 (diff) | |
OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@opencsw.org>
with some changes.
Diffstat (limited to 'conf.c')
| -rw-r--r-- | conf.c | 9 | 
1 files changed, 1 insertions, 8 deletions
| @@ -81,7 +81,7 @@ conf_t *conf_load( int argc, char *argv[] )  		   at a *valid* configuration file. */  	} -	while( argc > 0 && ( opt = getopt( argc, argv, "i:p:P:nvIDFc:d:hR:u:V" ) ) >= 0 ) +	while( argc > 0 && ( opt = getopt( argc, argv, "i:p:P:nvIDFc:d:hu:V" ) ) >= 0 )  	/*     ^^^^ Just to make sure we skip this step from the REHASH handler. */  	{  		if( opt == 'i' ) @@ -157,13 +157,6 @@ conf_t *conf_load( int argc, char *argv[] )  			        BITLBEE_VERSION, BITLBEE_VERSION_CODE );  			return NULL;  		} -		else if( opt == 'R' ) -		{ -			/* Backward compatibility; older BitlBees passed this -			   info using a command-line flag. Allow people to -			   upgrade from such a version for now. */ -			setenv( "_BITLBEE_RESTART_STATE", optarg, 0 ); -		}  		else if( opt == 'u' )  		{  			g_free( conf->user ); | 
