INN commit: branches/2.5/innd (nc.c)

INN Commit rra at isc.org
Sun Nov 15 09:14:47 UTC 2009


    Date: Sunday, November 15, 2009 @ 01:14:47
  Author: iulius
Revision: 8744

Ignore lines smaller than 2 bytes (that is to say lines
containing only "\r\n" or something else like "a\n").

Modified:
  branches/2.5/innd/nc.c

------+
 nc.c |    2 ++
 1 file changed, 2 insertions(+)

Modified: nc.c
===================================================================
--- nc.c	2009-11-15 09:01:24 UTC (rev 8743)
+++ nc.c	2009-11-15 09:14:47 UTC (rev 8744)
@@ -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