INN commit: branches/2.5/backends (archive.c)
INN Commit
rra at isc.org
Sun Nov 15 09:23:37 UTC 2009
Date: Sunday, November 15, 2009 @ 01:23:37
Author: iulius
Revision: 8775
Change a few log lines.
Modified:
branches/2.5/backends/archive.c
-----------+
archive.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: archive.c
===================================================================
--- archive.c 2009-11-15 09:23:27 UTC (rev 8774)
+++ archive.c 2009-11-15 09:23:37 UTC (rev 8775)
@@ -202,7 +202,7 @@
/*
** Write an index entry to standard output. This is the path (without the
-** archive root), the message ID of the article, and the subject.
+** archive root), the message-ID of the article, and the subject.
*/
static void
write_index(FILE *index, ARTHANDLE *art, const char *file)
@@ -279,12 +279,12 @@
struct cvector *groups;
struct buffer *path = NULL;
- /* Determine the groups from the Xref header. In groups will be the split
- Xref header; from the second string on should be a group, a colon, and
+ /* Determine the groups from the Xref: header. In groups will be the split
+ Xref: header; from the second string on should be a group, a colon, and
an article number. */
start = wire_findheader(art->data, art->len, "Xref");
if (start == NULL) {
- warn("cannot find Xref header in %s", token);
+ warn("cannot find Xref: header in %s", token);
return;
}
end = wire_endheader(start, art->data + art->len);
@@ -294,7 +294,8 @@
*p = ' ';
groups = cvector_split_space(xref, NULL);
if (groups->count < 2) {
- warn("bogus Xref header in %s", token);
+ warn("bogus Xref: header in %s", token);
+ free(xref);
return;
}
@@ -305,7 +306,7 @@
group = groups->strings[i];
delim = strchr(group, ':');
if (delim == NULL) {
- warn("bogus Xref entry %s in %s", group, token);
+ warn("bogus Xref: entry %s in %s", group, token);
continue;
}
*delim = '\0';
More information about the inn-committers
mailing list