comparison src/configfile.c @ 473:bcd7f11b1504 noffle

[svn] * src/configfile.c: Brown paper bag problem. noffle-group config was setting the user config.
author bears
date Sat, 29 Nov 2003 23:42:33 +0000
parents 6cb66f5a0479
children 372f8b55506e
comparison
equal deleted inserted replaced
472:fb8cadeed4d4 473:bcd7f11b1504
4 The following macros must be set, when compiling this file: 4 The following macros must be set, when compiling this file:
5 CONFIGFILE 5 CONFIGFILE
6 SPOOLDIR 6 SPOOLDIR
7 VERSION 7 VERSION
8 8
9 $Id: configfile.c 533 2003-05-23 09:33:10Z bears $ 9 $Id: configfile.c 620 2003-11-29 23:42:33Z bears $
10 */ 10 */
11 11
12 #if HAVE_CONFIG_H 12 #if HAVE_CONFIG_H
13 #include <config.h> 13 #include <config.h>
14 #endif 14 #endif
1004 else if ( strcmp( "organization", name ) == 0 ) 1004 else if ( strcmp( "organization", name ) == 0 )
1005 getText( config.organization, line ); 1005 getText( config.organization, line );
1006 else if ( strcmp( "noffle-user", name ) == 0 ) 1006 else if ( strcmp( "noffle-user", name ) == 0 )
1007 getText( config.noffleUser, line ); 1007 getText( config.noffleUser, line );
1008 else if ( strcmp( "noffle-group", name ) == 0 ) 1008 else if ( strcmp( "noffle-group", name ) == 0 )
1009 getText( config.noffleUser, line ); 1009 getText( config.noffleGroup, line );
1010 else if ( strcmp( "server", name ) == 0 ) 1010 else if ( strcmp( "server", name ) == 0 )
1011 getServ( line ); 1011 getServ( line );
1012 else if ( strcmp( "filter", name ) == 0 ) 1012 else if ( strcmp( "filter", name ) == 0 )
1013 getFilter( line ); 1013 getFilter( line );
1014 else 1014 else