[cvs] bogofilter config.c,1.54,1.55
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2002-11-25 13:12:17
|
Update of /cvsroot/bogofilter/bogofilter In directory sc8-pr-cvs1:/tmp/cvs-serv5507 Modified Files: config.c Log Message: Add a second level of debug output. Index: config.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/config.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- config.c 25 Nov 2002 13:06:51 -0000 1.54 +++ config.c 25 Nov 2002 13:12:13 -0000 1.55 @@ -270,9 +270,13 @@ len = val - line; for ( arg = parms; arg->name != NULL; arg += 1 ) { + if (DEBUG_CONFIG(1)) + printf( "Testing: %s\n", arg->name); if (strncmp(arg->name, line, len) == 0) { bool ok = process_config_parameter(arg, val); + if (DEBUG_CONFIG(1) && ok ) + printf( "%s\n", " Found it!"); return ok; } } |