[leafnode-list] Re: leafnode-2.0.0.alpha20040823a snapshot available

Matthias Andree ma at dt.e-technik.uni-dortmund.de
Mon Aug 23 21:17:36 CEST 2004


"Jack Raats" <jack at raats.xs4all.nl> writes:

> Sorry. This is the output you want!

Indeed it is.

This patch should help, please let me know how it goes:

Index: fetchnews.c
===================================================================
RCS file: /var/CVS/leafnode-2/fetchnews.c,v
retrieving revision 1.160
diff -u -r1.160 fetchnews.c
--- fetchnews.c	23 Aug 2004 09:50:48 -0000	1.160
+++ fetchnews.c	23 Aug 2004 19:16:40 -0000
@@ -1652,9 +1652,11 @@
                 if (!forceactive && (debugmode & DEBUG_ACTIVE))
                     ln_log(LNLOG_SINFO, LNLOG_CGROUP,
                             "%s not found in groupinfo file", ng);
-            }
+		newserver = 0;
+            } else {
+		newserver = getgroup(cursrv, g, from);
+	    }
 
-	    newserver = getgroup(cursrv, g, from);
 	    if (newserver == (unsigned long)-2) { /* fatal */
 		/* FIXME: write back all other upstream entries, return */
 		goto out;


-- 
Matthias Andree

NOTE YOU WILL NOT RECEIVE MY MAIL IF YOU'RE USING SPF!
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)



More information about the leafnode-list mailing list