INN commit: trunk/innd (nc.c)
INN Commit
rra at isc.org
Sat Oct 17 13:50:27 UTC 2009
Date: Saturday, October 17, 2009 @ 06:50:26
Author: iulius
Revision: 8668
Ignore lines smaller than 2 bytes (that is to say lines
containing only "\r\n" or something else like "a\n").
Modified:
trunk/innd/nc.c
------+
nc.c | 2 ++
1 file changed, 2 insertions(+)
Modified: nc.c
===================================================================
--- nc.c 2009-10-17 12:31:34 UTC (rev 8667)
+++ nc.c 2009-10-17 13:50:26 UTC (rev 8668)
@@ -945,7 +945,9 @@
* data may also include a command line. */
movedata = false;
readmore = false;
+ /* Ignore too small lines. */
if (i - cp->Start < 3) {
+ cp->Start = cp->Next;
break;
}
p = &bp->data[i];
More information about the inn-committers
mailing list