🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44871

Re: Diablo 1.28-REL --> INN (437 Invalid Xref header)

#44871
From: Steve Wyles
Date: Tue, 07 Mar 2000 00:00
34 lines
1600 bytes
Of course this code in util/diablo.c

ngAddControl(char *nglist, int ngSize, const char *ctl)
{
    /*
     * If a control message, append 'control.CTLNAME' to grouplist
     */
    int l = strlen(nglist);

    if (l && nglist[l-1] == '\n')
        --l;

    if (strlen(ctl) + l < ngSize - 11)
        sprintf(nglist + l, ",control.%s", ctl);
}

shouldn't add the group to nglist if it already exists on the Newsgroups
line, otherwise you get this:

head <jbuRtH7h$GA.54@cppssbbsa01.microsoft.com>
221 0 head <jbuRtH7h$GA.54@cppssbbsa01.microsoft.com>

	[snipped non important headers]

 Xref: diablo.netcom.net.uk control.rmgroup:94715 control.rmgroup:94716

Steve

-- 
Steve Wyles
Computer Operations
NETCOM Internet Ltd

Technical Details
Message-ID: <8a1jp6$bia$1@taliesin2.netcom.net.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <8a18ka$7v7$1@taliesin2.netcom.net.uk>

Show Full Headers
Complete Article Headers
Message-ID: <8a1jp6$bia$1@taliesin2.netcom.net.uk>
Subject: Re: Diablo 1.28-REL --> INN (437 Invalid Xref header)
Date: Tue, 07 Mar 2000 00:00:00 +0000
From: Steve Wyles <stevew@ops.netcom.net.uk>
References: <8a18ka$7v7$1@taliesin2.netcom.net.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 594051021
X-Complaints-To: abuse@corp.netcom.net.uk
X-Trace: taliesin2.netcom.net.uk 952390246 11850 194.42.224.25 (7 Mar 2000 00:50:46 GMT)
Organization: (Posted via) Netcom Internet Ltd.
User-Agent: tin/pre-1.4-19990216 ("Styrofoam") (UNIX) (SunOS/5.7 (sun4u))
NNTP-Posting-Date: 7 Mar 2000 00:50:46 GMT
Newsgroups: news.software.nntp