🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #3153

Super small patch for hacked nntpclient 1.6

#3153
From: Jim Jagielski
Date: Mon, 26 Oct 1992 14:14
30 lines
1647 bytes
Some people have taken advantage of my changes/hacks to nntpclient 1.6
which has been available via naon-ftp here on jagubox (as a reminder, my
version creates Message-ID and Lines header lines if desired and
provides Configure control with the nn news reader)...

Anyway, there is a very small patch to the inews.c file to wrap a line
in a #ifdef... This would show up as a compile time error if you selected
_not_ to enable generation of Lines:....


------>8 cut here------
*** Oinews.c	Mon Oct 26 08:59:26 1992
--- inews.c	Mon Oct 26 09:01:18 1992
***************
*** 407,413 ****
--- 407,415 ----
  #endif
  			
  			} else {
+ #ifdef MLINES
  				num_lines--;  /* inews ignores this */
+ #endif
   				continue;
  			}
  		}
-- 
    Jim Jagielski               | "It is not I who am crazy...
    jim@jagubox.gsfc.nasa.gov   |  it is I who am MAD!"
    NASA/GSFC, Code 734.4       |
    Greenbelt, MD 20771         |            - Ren
Technical Details
Message-ID: <1199@jagubox.gsfc.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!tymix!tardis!olivea!sun-barr!ames!nsisrv!jagubox!jim

Show Full Headers
Complete Article Headers
Message-ID: <1199@jagubox.gsfc.nasa.gov>
Subject: Super small patch for hacked nntpclient 1.6
Date: Mon, 26 Oct 1992 14:14:06 +0000
From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!tymix!tardis!olivea!sun-barr!ames!nsisrv!jagubox!jim
Newsgroups: news.software.nn,news.software.nntp
Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
Organization: NASA/Goddard Space Flight Center
Lines: 30
Nntp-Posting-Host: jagubox.gsfc.nasa.gov