🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6647

Re: use_nntp=1, still checking database. HELP

#6647
From: storner
Date: Mon, 31 Oct 1994 15:59
22 lines
1555 bytes
In <ellis.783612277@gmi.edu> ellis@nova.gmi.edu (R. Stewart Ellis) writes:

[about using nntp unconditionally with nn 6.5.0.b3]:

>So I grepped for use_nntp and found the spot in global.c where it is
>initialized to 0 (?) and reset it to 1.  Make clean; make.  Try it again and
>I am still getting database not updated in 2xxxx hrs., No News, etc.

>Any ideas?  I want it to use nntp unconditionally, even on the local host.

You need to change the setting of use_nntp in nntp.c, around line 770.
The routine nntp_check() has a line that reads

    use_nntp = (strcmp(host, server_real_name) != 0);

Change this to 

    use_nntp = 1;

and you should be up an running.
--
Henrik Storner (storner@olicom.dk)
Technical Details
Message-ID: <storner.783619189@hst.olicom.dk>
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!nntp.gmd.de!newsserver.jvnc.net!yale.edu!noc.near.net!paperboy.wellfleet.com!news-feed-1.peachnet.edu!news.duke.edu!zombie.ncsc.mil!news.mathworks.com!udel!news.sprintlink.net!howland.reston.ans.net!EU.net!sunic!trane.uninett.no!nac.no!eunet.no!nuug!dkuug!hst.olicom.dk!storner
References: <ellis.783612277@gmi.edu>

Show Full Headers
Complete Article Headers
Message-ID: <storner.783619189@hst.olicom.dk>
Subject: Re: use_nntp=1, still checking database. HELP
Date: Mon, 31 Oct 1994 15:59:49 +0000
From: storner@hst.olicom.dk (storner)
References: <ellis.783612277@gmi.edu>
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!nntp.gmd.de!newsserver.jvnc.net!yale.edu!noc.near.net!paperboy.wellfleet.com!news-feed-1.peachnet.edu!news.duke.edu!zombie.ncsc.mil!news.mathworks.com!udel!news.sprintlink.net!howland.reston.ans.net!EU.net!sunic!trane.uninett.no!nac.no!eunet.no!nuug!dkuug!hst.olicom.dk!storner
Newsgroups: news.software.nn
Organization: Olicom A/S
Lines: 22
NNTP-Posting-Host: eolicom.olicom.dk