2.2.2 ups the ante versus Campy
Unknown News Administrator
Usenet.News at msfc.nasa.gov
Tue Jan 11 12:51:51 UTC 2000
[I wrote:]
>I think what is happening is that overchan looks in the overview data for
>an Xref: header with strstr() and thinks it has found it in the
>References header line. Then overchan can't parse the line it found and
>complains.
>This looks like a bug in overchan. expireover doesn't seem to have a
>problem with it, nor does nnrpd when given XOVER.
And here's an elegant little patch to fix overchan in INN-2.2.2:
*** overchan.c.orig Mon Jan 10 15:36:04 2000
--- overchan.c Mon Jan 10 15:56:24 2000
***************
*** 227,233 ****
}
} else {
/* Find the groups and article numbers. */
! if ((Xref = strstr(Data, "Xref:")) == NULL) {
fprintf(stderr, "overchan missing xref header\n");
continue;
}
--- 227,233 ----
}
} else {
/* Find the groups and article numbers. */
! if ((Xref = strstr(Data, "\tXref:")) == NULL) {
fprintf(stderr, "overchan missing xref header\n");
continue;
}
--
J. Porter Clark, d/b/a
+--+
|oo| The Unknown News Administrator
| | news at msfc.nasa.gov
`^^'
More information about the inn-bugs
mailing list