nnrpd: article cmd response

Anonymous Codewanker meowbot at fluffy.gets.an.analprobe.dk
Thu Oct 12 08:27:41 UTC 2000



On 12 Oct 2000, Nickolai Zeldovich wrote:

> depends on whether the article was requested by article number or
> 
> Unfortunately, Netscape seems to have incorporated parsing for the
> wrong format into their news reader and fixing INN breaks Netscape
> news readers.. I'm not sure whether there is a clear way to win in
> this situation.

Sounds like a Big Win to me...

telnet 0 119
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
200 TeleDanMarkInterNetNews swerver greets you (posting ok).
stat <8s2k0d$2i2$1 at FreeBSD.csie.NCTU.edu.tw>
223 0 <8s2k0d$2i2$1 at FreeBSD.csie.NCTU.edu.tw> status
head <8s2k0d$2i2$1 at FreeBSD.csie.NCTU.edu.tw>
221 0 <8s2k0d$2i2$1 at FreeBSD.csie.NCTU.edu.tw> head


diff -u article.c-before-Netscrape-fix article.c
--- article.c-before-Netscrape-fix      Mon Sep 25 10:33:58 2000
+++ article.c   Thu Oct 12 10:17:10 2000
@@ -845,7 +845,8 @@
            return;
        }
        tart=art;
-       Reply("%d %ld %s %s\r\n", what->ReplyCode, art, what->Item, av[1]);
+       Reply("%d %ld %s %s\r\n", what->ReplyCode, art, av[1], what->Item);
+       /* This is b0rken... Reply("%d %ld %s %s\r\n", what->ReplyCode, art, what->Item, av[1]); */
        if (what->Type != STstat) {
            if (ARTmem)
                ARTsendmmap(what->Type);


I get the feeling that HellDesk is going to hate me, as usual

Meow.




More information about the inn-bugs mailing list