🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Robert N. Berlinger Tue, 24 Jul 1990 14:53
Minor bug in nntp 1.5.9 w/ unofficial fix
#596
Author: Robert N. Berlinger
Date: Tue, 24 Jul 1990 14:53
22 lines
1480 bytes
I recently installed nntp 1.5.9 on a Sun 3/280 running SunOS 4.1.
When receiving a post, nntpd tacks on an "Nntp-Posting-Host" header
with the hostname of the posting host.

What I was seeing was this header without the hostname.  I found that
in access.c, the external "hostname" was not being set when LOG wasn't
defined.

Line 131 of access.c which is

	(void) strcpy(hostname, host_name)

should be moved 2 lines down. (Out of the #ifdef LOG.)

Apply this fix at your own risk -- seems to work for me, but I only
spent 20 minutes finding the problem.
-- 
Robert N. Berlinger                 |Domain: naftoli@aecom.yu.edu        
Supervisor of Systems Support       |UUCP: ...uunet!aecom!naftoli
Scientific Computing Center         |CompuServe: 76067.1114@compuserve.com
Albert Einstein College of Medicine |AppleLink: D3913@applelink.apple.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads