[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] fetching news

Rick Pasotto <rick@xxxxxxxx> writes:

> I run fetchnews manually several times every day.
> Here's my guess as to what's happening. I connect to two servers to help
> make sure I don't miss any posts. The second server gives a 503 error
> but not the first. Is the flag to download the newsgroup list global
> instead of per server?

No, it is indeed per server. However there is a long-standing bug, this
flag is ineffective when ALL newsgroups are downloaded from a server.

Mark Brown, O High Master of the Debian Leafnode packages, please check
if this needs to be applied to your Debian/stable and Debian/testing
versions as well.

My apologizes, the nodesc flag was only effective when fetchnews was to
get /new/ newsgroups. Please try this patch, against 1.9.27.rel (the
same patch will be part of the upcoming 1.9.33 version), and let me know
if it works for you (save this mail to the leafnode-1.9.27.rel directy,
cd leafnode-1.9.27.rel, patch <thismail, make, then as root: make

Index: fetchnews.c
RCS file: /var/CVS/leafnode-1/fetchnews.c,v
retrieving revision 1.67
diff -u -b -B -w -r1.67 fetchnews.c
--- fetchnews.c~	31 Aug 2002 09:55:49 -0000	1.67
+++ fetchnews.c	27 Jan 2003 03:33:59 -0000
@@ -1360,6 +1360,7 @@
 	if (!l)			/* timeout */
 	    return -1;
+	if (current_server->descriptions) {
 	xsnprintf(lineout, SIZE_lineout, "LIST NEWSGROUPS\r\n");
 	l = getaline(nntpin);
@@ -1394,6 +1395,7 @@
 	    changegroupdesc(l, *p ? p : NULL);
 	    l = getaline(nntpin);
+	    }
 	debug = debugmode;
 	if (!l)

Matthias Andree
leafnode-1 download: http://sourceforge.net/projects/leafnode/
leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list