Article View: news.software.nntp
Article #30404Re: Bad responses in INN 2,1?
From: Grigori Vulis
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
32 lines
1591 bytes
1591 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
> Here is the bug, in nc.c, function NCihave:
>
> #if defined(DO_PERL)
> /* invoke a perl message filter on the message id */
> if ((perlrc = (char *)HandleMessageID(p)) != NULL) {
> ...
> !! (void)sprintf(cp->Sendid.Data, "%d %s", NNTP_ERR_GOTID_VAL, p);
> !! NCwritereply(cp, cp->Sendid.Data);
> return;
> }
> #endif
>
> That use of "NNTP_ERR_GOTID_VAL" (which is 438) is incorrect, should
> probably be
>
> NCwritereply(cp, NNTP_HAVEIT);
>
> in place of the two marked lines.
Yeah, but that hides the response. I like those.
(void)sprintf(cp->Sendid.Data, "%d %s", NNTP_HAVEIT_VAL, perlrc);
NCwritereply(cp, cp->Sendid.Data);
ihave <gfhgjfkgsdhl@none568590.yet>
435 No
Much better =)
Technical Details
Message-ID:
<6qoa88$p4b$1@fluffy.meow.org>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-mailReferences:
<Pine.BSF.3.96.980811023532.1712A-100000@coredump.int.tele.dk> <877m0g47h4.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <6qoa88$p4b$1@fluffy.meow.org> Subject: Re: Bad responses in INN 2,1? Date: Tue, 11 Aug 1998 00:00:00 +0000 From: gerglery@usa.net (Grigori Vulis) References: <Pine.BSF.3.96.980811023532.1712A-100000@coredump.int.tele.dk> <877m0g47h4.fsf@erlenstar.demon.co.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: 379913197 Sender: fluffy@localhost X-Complaints-To: mom X-Trace: fluffy.meow.org 902802504 25739 CE7BCDA695C30AA2F9E5F390C820D985 127.0.0.1 Organization: International Brotherhood of Vulii NNTP-Posting-Date: 11 Aug 1998 02:28:24 GMT Newsgroups: news.software.nntp