Mercurial > noffle
changeset 190:47569cf4ad4a noffle
[svn] fix bug with missing initialization of user name and passwd
| author | enz | 
|---|---|
| date | Fri, 05 Oct 2001 16:44:22 +0100 | 
| parents | b1b6963fdd63 | 
| children | 28488e0e3630 | 
| files | src/configfile.c | 
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] | 
line wrap: on
 line diff
--- a/src/configfile.c Fri Oct 05 16:44:04 2001 +0100 +++ b/src/configfile.c Fri Oct 05 16:44:22 2001 +0100 @@ -6,7 +6,7 @@ SPOOLDIR VERSION - $Id: configfile.c 300 2001-08-05 08:24:22Z bears $ + $Id: configfile.c 309 2001-10-05 15:44:22Z enz $ */ #if HAVE_CONFIG_H @@ -390,6 +390,7 @@ ServEntry entry; memset( &entry, 0, sizeof( entry ) ); + user[ 0 ] = pass[ 0 ] = '\0'; r = sscanf( line, "%s %s %s %s", dummy, name, user, pass ); if ( r < 2 )
