INN commit: trunk/innd (art.c)
INN Commit
Russ_Allbery at isc.org
Wed May 6 17:25:50 UTC 2009
Date: Wednesday, May 6, 2009 @ 10:25:50
Author: iulius
Revision: 8447
Log to news.notice when an article is rejected with
dontrejectfiltered set to true.
Modified:
trunk/innd/art.c
-------+
art.c | 8 ++++++++
1 file changed, 8 insertions(+)
Modified: art.c
===================================================================
--- art.c 2009-05-06 17:11:12 UTC (rev 8446)
+++ art.c 2009-05-06 17:25:50 UTC (rev 8447)
@@ -2066,6 +2066,10 @@
if (filterrc != NULL) {
if (innconf->dontrejectfiltered) {
Filtered = true;
+ syslog(L_NOTICE, "rejecting[python] %s %d %.200s (with dontrejectfiltered)",
+ HDR(HDR__MESSAGE_ID),
+ ihave ? NNTP_OK_IHAVE : NNTP_OK_TAKETHIS,
+ filterrc);
} else {
snprintf(cp->Error, sizeof(cp->Error), "%d %.200s",
ihave ? NNTP_FAIL_IHAVE_REJECT : NNTP_FAIL_TAKETHIS_REJECT,
@@ -2093,6 +2097,10 @@
if (filterrc) {
if (innconf->dontrejectfiltered) {
Filtered = true;
+ syslog(L_NOTICE, "rejecting[perl] %s %d %.200s (with dontrejectfiltered)",
+ HDR(HDR__MESSAGE_ID),
+ ihave ? NNTP_OK_IHAVE : NNTP_OK_TAKETHIS,
+ filterrc);
} else {
snprintf(cp->Error, sizeof(cp->Error), "%d %.200s",
ihave ? NNTP_FAIL_IHAVE_REJECT : NNTP_FAIL_TAKETHIS_REJECT,
More information about the inn-committers
mailing list