INN commit: branches/2.5/backends (archive.c)

INN Commit rra at isc.org
Tue Sep 13 18:44:34 UTC 2011


    Date: Tuesday, September 13, 2011 @ 11:44:33
  Author: iulius
Revision: 9377

fix the end of the header in archive (it was 1 byte too long)

Modified:
  branches/2.5/backends/archive.c

-----------+
 archive.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: archive.c
===================================================================
--- archive.c	2011-09-13 18:42:52 UTC (rev 9376)
+++ archive.c	2011-09-13 18:44:33 UTC (rev 9377)
@@ -285,7 +285,7 @@
         warn("cannot find Xref: header in %s", token);
         return;
     }
-    end = wire_endheader(start, art->data + art->len);
+    end = wire_endheader(start, art->data + art->len - 1);
     xref = xstrndup(start, end - start);
     for (p = xref; *p != '\0'; p++)
         if (*p == '\r' || *p == '\n')




More information about the inn-committers mailing list