INN commit: trunk (doc/pod/news.pod nnrpd/article.c)
INN Commit
rra at isc.org
Sat Dec 26 10:09:58 UTC 2009
Date: Saturday, December 26, 2009 @ 02:09:57
Author: iulius
Revision: 8863
Fixed a bug when HDR, XHDR and XPAT are used when I<virtualhost> is set
to true in F<readers.conf>. The Xref: header of articles posted to only
one newsgroup appears empty.
The offset count is too large by one in virtual hosting.
Modified:
trunk/doc/pod/news.pod
trunk/nnrpd/article.c
------------------+
doc/pod/news.pod | 6 ++++++
nnrpd/article.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
Modified: doc/pod/news.pod
===================================================================
--- doc/pod/news.pod 2009-12-26 09:57:01 UTC (rev 8862)
+++ doc/pod/news.pod 2009-12-26 10:09:57 UTC (rev 8863)
@@ -189,6 +189,12 @@
=item *
+Fixed a bug when HDR, XHDR and XPAT were used when I<virtualhost> was set
+to true in F<readers.conf>. The Xref: header of articles posted to only
+one newsgroup appeared empty.
+
+=item *
+
Fixed a bug in B<tdx-util> which was not properly parsing empty overview
fields when called with B<-A> or B<-F>.
Modified: nnrpd/article.c
===================================================================
--- nnrpd/article.c 2009-12-26 09:57:01 UTC (rev 8862)
+++ nnrpd/article.c 2009-12-26 10:09:57 UTC (rev 8863)
@@ -876,7 +876,7 @@
warn("malformed Xref: `%s'", field);
goto fail;
}
- offset = space + 1 - p;
+ offset = space - p;
space = strchr(p + offset, ' ');
if (space == NULL) {
warn("malformed Xref: `%s'", field);
More information about the inn-committers
mailing list