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

Re: [leafnode-list] Local newsgroups possible with leafnode-2.0b7 ?



Joerg Dietrich wrote:

> On Tue, Jan 16, 2001 at 10:47:41AM +0100, Cornelius Krasel wrote:
> > Under that perspective, getxover() has to be called every time something
> > from the .overview data is requested. Or do I overlook something?
> 
> Isn't that already done? From nntpd.c/doxover():
> 
>    if ( !pseudogroup ) {
>        if ( xovergroup != group && getxover() )
>            xovergroup = group;

I may have expressed myself badly. doxover() may be called a second time,
with (xovergroup == group). In that case, getxover() will not be called
and a possibly outdated overview record (altered by some other process)
will be returned.

Therefore I suggested to write the code as

    if ( !pseudogroup ) {
	if ( getxover() )

and omit xovergroup altogether.

--Cornelius.

-- 
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* "Science is the game we play with God to find out what His rules are."  */

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