Mercurial > noffle
diff src/configfile.c @ 290:f35a7d45efd5 noffle
[svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs,
update Markus's email again.
* docs/noffle.conf.5,src/configfile.c: Only recognise authenticate-client
config if authentication of one or other sort is built in.
* TODO: Update.
author | bears |
---|---|
date | Sat, 11 Jan 2003 09:30:05 +0000 |
parents | 01755687c565 |
children | b0ee77fa24d4 |
line wrap: on
line diff
--- a/src/configfile.c Fri Jan 10 23:27:31 2003 +0000 +++ b/src/configfile.c Sat Jan 11 09:30:05 2003 +0000 @@ -6,7 +6,7 @@ SPOOLDIR VERSION - $Id: configfile.c 419 2003-01-10 23:11:43Z bears $ + $Id: configfile.c 422 2003-01-11 09:30:05Z bears $ */ #if HAVE_CONFIG_H @@ -955,8 +955,14 @@ getStr( config.hostnameMsgId, line ); else if ( strcmp( "post-locally", name ) == 0 ) getBool( &config.postLocal, p ); +#if USE_AUTH + /* + * Don't recognise this unless we have some sort of auth + * built in. A small sanity check on the config. + */ else if ( strcmp( "authenticate-client", name ) == 0 ) getBool( &config.clientAuth, p ); +#endif else if ( strcmp( "default-auto-subscribe-mode", name ) == 0 ) { getStr( s, p );