INN commit: trunk/innd (nc.c)
INN Commit
rra at isc.org
Sun Nov 15 19:25:08 UTC 2009
Date: Sunday, November 15, 2009 @ 11:25:08
Author: iulius
Revision: 8814
Add two log messages for bad commands (too long NNTP command
or argument) in innd.
Modified:
trunk/innd/nc.c
------+
nc.c | 6 ++++++
1 file changed, 6 insertions(+)
Modified: nc.c
===================================================================
--- nc.c 2009-11-15 17:13:12 UTC (rev 8813)
+++ nc.c 2009-11-15 19:25:08 UTC (rev 8814)
@@ -1281,6 +1281,9 @@
|| (StreamingOff || !cp->Streaming)) {
NCwritereply(cp, buff);
cp->Start = cp->Next;
+
+ syslog(L_NOTICE, "%s bad_command %s", CHANname(cp),
+ MaxLength(q, q));
break;
}
}
@@ -1302,6 +1305,9 @@
|| (StreamingOff || !cp->Streaming)) {
NCwritereply(cp, buff);
cp->Start = cp->Next;
+
+ syslog(L_NOTICE, "%s bad_command %s", CHANname(cp),
+ MaxLength(q, q));
break;
}
}
More information about the inn-committers
mailing list