[cvs] bogofilter config.c,1.71,1.72

Matthias Andree matthias.andree at gmx.de
Fri Dec 6 23:40:14 CET 2002


relson at users.sourceforge.net writes:

> Add "block_on_subnets" as config file option.
>
>
> Index: config.c
> ===================================================================
> RCS file: /cvsroot/bogofilter/bogofilter/config.c,v
> retrieving revision 1.71
> retrieving revision 1.72
> diff -u -d -r1.71 -r1.72
> --- config.c	4 Dec 2002 17:54:02 -0000	1.71
> +++ config.c	6 Dec 2002 00:06:38 -0000	1.72
> @@ -27,6 +27,7 @@
>  #include "charset.h"
>  #endif
>  #include "find_home.h"
> +#include "lexer.h"

> -    { "ham_cutoff",	  CP_FUNCTION,	{ (void *) NULL } }, /* Robinson-Fisher */
> +    { "ham_cutoff",	  CP_FUNCTION,	{ (void *) NULL } },	/* Robinson-Fisher */
>  #endif
> +    { "block_on_subnets", CP_BOOLEAN,	{ (void *) &block_on_subnets } },

For consistency, that variable had better been listed in config.c rather
than lexer.l. Will change.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list