Fixes for news

This commit is contained in:
Michiel Broek
2004-04-15 20:52:43 +00:00
parent 884cb156ad
commit 007b7b1d41
4 changed files with 22 additions and 14 deletions

View File

@@ -488,9 +488,9 @@ int postecho(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t m
}
/*
* Gate to newsserver
* Gate to newsserver if this is a real newsgroup
*/
if (strlen(msgs.Newsgroup) && tonews) {
if (strlen(msgs.Newsgroup) && (msgs.Type == NEWS) && tonews) {
rewind(nfp);
qp = tmpfile();
while ((fgets(buf, MAX_LINE_LENGTH, nfp)) != NULL) {

View File

@@ -408,7 +408,6 @@ int get_xover(char *grpname, long startnr, long endnr, List **art)
if ((strlen(resp) == 1) && (strcmp(resp, ".") == 0)) {
done = TRUE;
} else {
Syslogp('n', printable(resp, 0));
Marker();
Nopper();
pov = xoverview;