[cvs] bogofilter/src error.c,1.12,1.13
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: Matthias A. <m-...@us...> - 2005-02-19 01:51:48
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7701/src Modified Files: error.c Log Message: (print_error) Add debugging aid that can be switched on at compile time to print file:line on stderr. Index: error.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/error.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- error.c 5 Feb 2004 04:55:42 -0000 1.12 +++ error.c 19 Feb 2005 01:51:38 -0000 1.13 @@ -41,6 +41,9 @@ if (!isprint((unsigned char)message[l])) message[l] = '_'; +#if 0 + fprintf(stderr, "%s:%lu:", file, line); +#endif fprintf(stderr, "%s: %s\n", progname, message); #ifdef HAVE_SYSLOG_H if (logflag) |