more info from -p
Matthias Andree
matthias.andree at gmx.de
Mon Sep 23 12:10:21 CEST 2002
(resend to the list, the first time, I sent it to Clint only)
> This is a slightly-modified patch from Zeph Hull which would add
> spamicity info in X-Spam-Status.
Did you test drive this patch? It did not compile for me...
main.c: In function `main':
main.c:191: `spamicity' undeclared (first use in this function)
main.c:191: (Each undeclared identifier is reported only once
main.c:191: for each function it appears in.)
I adjusted and merged the patch, but I'm adding the spamicity behind the
tests=... to heed the principle of least astonishment should somebody
use a fixed pattern that comprises the "tests=bogofilter" part.
> diff -u -r1.6 main.c
> --- main.c 20 Sep 2002 15:27:27 -0000 1.6
> +++ main.c 21 Sep 2002 20:11:58 -0000
> @@ -188,7 +188,7 @@
> }
> else
> {
"double spamicity;" is missing here.
> - rc_t status = bogofilter(STDIN_FILENO);
> + rc_t status = bogofilter(STDIN_FILENO, &spamicity);
>
> if (passthrough)
> {
More information about the bogofilter-dev
mailing list