changeset 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 fb8cadeed4d4
children e63a3bc27a75
files ChangeLog src/configfile.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Oct 31 15:54:59 2003 +0000
+++ b/ChangeLog	Sat Nov 29 23:42:33 2003 +0000
@@ -1,3 +1,8 @@
+Sun Nov 29 2003 Jim Hague <jim.hague@acm.org>
+
+* src/configfile.c: Brown paper bag problem. noffle-group config was setting
+  the user config.
+
 Fri Oct 31 2003 Martin Godisch <martin@godisch.de>
 
 * docs/noffle.1, docs/noffle.conf.5: Fixed dashes, see Debian #218448.
--- a/src/configfile.c	Fri Oct 31 15:54:59 2003 +0000
+++ b/src/configfile.c	Sat Nov 29 23:42:33 2003 +0000
@@ -6,7 +6,7 @@
     SPOOLDIR
     VERSION
 
-  $Id: configfile.c 533 2003-05-23 09:33:10Z bears $
+  $Id: configfile.c 620 2003-11-29 23:42:33Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -1006,7 +1006,7 @@
         else if ( strcmp( "noffle-user", name ) == 0 )
             getText( config.noffleUser, line );
         else if ( strcmp( "noffle-group", name ) == 0 )
-            getText( config.noffleUser, line );
+            getText( config.noffleGroup, line );
         else if ( strcmp( "server", name ) == 0 )
             getServ( line );
 	else if ( strcmp( "filter", name ) == 0 )