🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #56475

[slrn] Minor slrnpull bug + patch

#56475
From: Byrial Jensen
Date: Thu, 06 Jan 2000 00:00
36 lines
1984 bytes
When I fetched 50 messages from a new group with slrnpull, the log
looked like this:

#v+
01/06/2000 15:26:10 Fetching articles for dk.helbred.handicap.
01/06/2000 15:26:10 The server may contain as many as 342 articles in this group
01/06/2000 15:26:10 Only examining last 294 articles since this is a new group
01/06/2000 15:26:12 dk.helbred.handicap: Retrieving articles 294-343.
01/06/2000 15:26:12 dk.helbred.handicap: 50 articles available.
01/06/2000 15:26:36 dk.helbred.handicap: 50/50 (0 killed), Time: 00:00:59, BPS: 4962
#v-

The number in the third line is wrong. It should be 50 instead of
294.

#v+
--- slrnpull.c~	Sun Dec 19 22:51:36 1999
+++ slrnpull.c	Thu Jan  6 15:45:59 2000
@@ -818,7 +818,7 @@ static int *list_server_numbers (NNTP_Ty
 	if (server_max >= server_min)
 	  log_message ("The server may contain as many as %d articles in this group",
 		       server_max - server_min + 1);
-	log_message ("Only examining last %u articles since this is a new group", max);
+	log_message ("Only examining last %u articles since this is a new group", g->max_to_get);
      }
 
    status = nntp_server_vcmd (s, "XHDR Message-Id %u-", max);
#v-

P.S. It would be nice if slrn didn't complain about too long
lines in #v+/#v- blocks like in this message.

-- 
Byrial

Technical Details
Message-ID: <slrn879boi.398.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

Show Full Headers
Complete Article Headers
Message-ID: <slrn879boi.398.bjensen@ask.ask>
Subject: [slrn] Minor slrnpull bug + patch
Date: Thu, 06 Jan 2000 00:00:00 +0000
From: bjensen@nospam.dk (Byrial Jensen)
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: 569116967
X-Trace: news020.image.dk 947171671 212.54.89.49 (Thu, 06 Jan 2000 16:14:31 MET)
User-Agent: slrn/0.9.6.2 (Linux)
NNTP-Posting-Date: Thu, 06 Jan 2000 16:14:31 MET
Newsgroups: news.software.readers
X-Complaints-To: news-abuse@wol.dk