🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #48344

Re: slrnpull slow when reading a newsgroup first time

#48344
From: John E. Davis
Date: Mon, 03 May 1999 00:00
23 lines
1702 bytes
On Mon, 03 May 1999 21:35:59 GMT, Byrial Jensen <bjensen@nospam.dk>
wrote:
>So the log report "3 articles available" is one too many -- or
>rather 10090 too few ...

--- slrnpull.c~	Mon May  3 13:01:00 1999
+++ slrnpull.c	Mon May  3 18:32:47 1999
@@ -811,7 +811,7 @@
     */
    if ((max <= 1) && (g->max_to_get != 0)
        && ((unsigned int) server_max > g->max_to_get))
-     max = (unsigned int) server_max - g->max_to_get;
+     max = (unsigned int) server_max - g->max_to_get + 1;
 
    status = nntp_server_vcmd (s, "XHDR Message-Id %u-", max);
    if (status == -1)

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis     Cambridge, MA  02139-4307

Technical Details
Message-ID: <slrn7is930.m9v.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn7iqpnc.eb.bjensen@ask.ask> <slrn7irln7.f4q.davis@aluche.mit.edu> <slrn7is4fi.g7.bjensen@ask.ask>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7is930.m9v.davis@aluche.mit.edu>
Subject: Re: slrnpull slow when reading a newsgroup first time
Date: Mon, 03 May 1999 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn7iqpnc.eb.bjensen@ask.ask> <slrn7irln7.f4q.davis@aluche.mit.edu> <slrn7is4fi.g7.bjensen@ask.ask>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 473679078
X-Complaints-To: usenet@eecs-usenet-02.mit.edu
X-Trace: eecs-usenet-02.mit.edu 925770852 18277 18.75.2.45 (3 May 1999 22:34:12 GMT)
Organization: Center for Space Research
User-Agent: slrn/0.9.5.5 (UNIX)
Reply-To: davis@space.mit.edu
NNTP-Posting-Date: 3 May 1999 22:34:12 GMT
Newsgroups: news.software.readers