Article View: news.software.nntp
Article #71103Re: [NNTP] LISTGROUP
From: Russ Allbery
Date: Wed, 20 Apr 2005 18:14
Date: Wed, 20 Apr 2005 18:14
25 lines
2216 bytes
2216 bytes
Curt Welch <curt@kcwc.com> writes:
> I'm guessing INN didn't turn 100-85 into 100- because they did an
> absolute test for matching the high value. My guess is that they have a
> range parser which considers the second value invalid since it was too
> low and treates it like it doesn't exist.
/* Parse range. */
*p++ = '\0';
rp->Low = atol(av[1]);
if (*p == '\0' || (rp->High = atol(p)) < rp->Low)
/* "XHDR 234-0 header" gives everything to the end. */
rp->High = ARThigh;
else if (rp->High > ARThigh)
rp->High = ARThigh;
if (rp->Low < ARTlow)
rp->Low = ARTlow;
p--;
*p = '-';
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87r7h51fjn.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<87is2mz13d.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181529350.3216@Tomobiki-Cho.CAC.Washington.EDU> <20050419205322.158$D1@newsreader.com> <87y8bei7d2.fsf@windlord.stanford.edu> <20050419220813.904$pf@newsreader.com> <pan.2005.04.20.08.42.21.253185@fanfan.staff.proxad.net> <20050420134321.436$PG@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <87r7h51fjn.fsf@windlord.stanford.edu> Subject: Re: [NNTP] LISTGROUP Date: Wed, 20 Apr 2005 11:14:36 -0700 From: Russ Allbery <rra@stanford.edu> References: <87is2mz13d.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181529350.3216@Tomobiki-Cho.CAC.Washington.EDU> <20050419205322.158$D1@newsreader.com> <87y8bei7d2.fsf@windlord.stanford.edu> <20050419220813.904$pf@newsreader.com> <pan.2005.04.20.08.42.21.253185@fanfan.staff.proxad.net> <20050420134321.436$PG@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1114020877 24759 171.64.19.147 (20 Apr 2005 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:TCW8Q1cs4vnPzrasl3nDVzrSMdg=