🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #208967

Re: {slrn} build 234: 2 small probs

#208967
From: John E. Davis
Date: Fri, 19 Oct 2007 01:22
32 lines
1970 bytes
On 19 Oct 2007 01:11:42 GMT, andrew <andrew@ilium.invalid>
wrote:
> I have had a look and to tell the truth my knowledge of such things,
> which is zero, leads me to suspect that I will do more damage than
> good by commenting out sections of code. If you can guide me to
> specific lines this is fine otherwise I should warn you that my
> profession as intensive care rn has ill-prepared me for modifying slrn
> source code :-)

No problem.  Change:
#v+

   /* skip header lines */
   while ((line != NULL) 
          && (line->flags & HEADER_LINE))
     line=line->next;

#v-
to
#v+

   /* skip header lines */
   if (0) while ((line != NULL) 
                 && (line->flags & HEADER_LINE))
     line=line->next;

#v-

That is, prefix `while' with `if (0)'.

Thanks,
--John
Technical Details
Message-ID: <slrnfhg1n3.1ps.jed@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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
References: <slrnfhfm48.36g.andrew@ilium.invalid> <slrnfhftrn.uoc.jed@aluche.mit.edu> <slrnfhfvos.a06.andrew@ilium.invalid> <slrnfhg0ve.gb8.andrew@ilium.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfhg1n3.1ps.jed@aluche.mit.edu>
Subject: Re: {slrn} build 234: 2 small probs
Date: Fri, 19 Oct 2007 01:22:43 +0000
From: "John E. Davis" <jed@jedsoft.org>
References: <slrnfhfm48.36g.andrew@ilium.invalid> <slrnfhftrn.uoc.jed@aluche.mit.edu> <slrnfhfvos.a06.andrew@ilium.invalid> <slrnfhg0ve.gb8.andrew@ilium.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
Newsgroups: news.software.readers
Reply-To: jed@jedsoft.org
User-Agent: slrn/pre0.9.9-16 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cancel-Lock: sha1:TWHmGMg2Qgh7O0yKV4w85La+UQ8=
Lines: 32
NNTP-Posting-Host: ALUCHE.MIT.EDU
X-Trace: 1192756963 senator-bedfellow.mit.edu 486 18.75.2.45