Minor bug in nntp 1.5.9 w/ unofficial fix
Robert N. Berlinger
naftoli at aecom.yu.edu
Wed Jul 25 00:53:34 AEST 1990
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 at aecom.yu.edu
Supervisor of Systems Support |UUCP: ...uunet!aecom!naftoli
Scientific Computing Center |CompuServe: 76067.1114 at compuserve.com
Albert Einstein College of Medicine |AppleLink: D3913 at applelink.apple.com
More information about the Comp.sources.bugs
mailing list