question about config code

Graham Wilson bob at decoy.wox.org
Mon Nov 25 07:15:51 CET 2002


i am having trouble with bogofilter not reading my 'algorithm = fisher'
statement in my config file. it seems to be because the parm_desc struct
for the algorithm parameter has NULL in its addr field. process config
parameter ignores anything with a NULL in that field:

	if ( arg->addr.v == NULL )
		return ok;

i figure the simple fix would be to remove these two lines of code,
since the case CP_ALGORITHM: line handles setting the algorithm without
using arg->addr field.

this wouldnt work though, since 'robx' for instance also has a NULL in
its addr field, but case CP_DOUBLE would try to write using the addr
field.

any ideas what im missing?

--
gram



More information about the bogofilter-dev mailing list