🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10645

Re: [long] nntpserver error and debug logged

#10645
From: Arctic Fidelity
Date: Tue, 08 Mar 2005 04:38
33 lines
2390 bytes
On Mon, 2005-03-07 at 23:13 +0000, Mike Hoehn wrote:

> This line from the nn.badnntphost.diff patch is the problem, because the
> the brackets {} of the else statement are missing.
> 
> See here (nntp_check() ). The patch inserts above line between these two
> lines:
> 
>     else
>         nn_exitmsg(1, "NNTPSERVER is invalid");
> 
> with the result being this:
> 
>     else
>         printf("NNTP host %s is unknown -- edit /etc/nntpserver\n",nntp_server);
>         nn_exitmsg(1, "NNTPSERVER is invalid");
> 
> This means nn_exitmsg() is called every time, no matter which part of the
> if/else statement is executed.

Wow, um...duuuuhhhhh....:-/ I'm surprised the patch got through like
that...how on earth did it? :-)

I'm going to make sure this is fixed and working in the next rendition
of Slackware's nn package. :-) or else....

- Aaron Hsu

-- 
"Beware of bugs in the above code; I have only proved it correct, not
tried it."
        -- Donald Knuth
Technical Details
Message-ID: <1110256720.4367.25.camel@frostbite.homeunix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mail
References: <5ridnR3tOZKw1LvfRVn-gQ@gvtc.com> <422ce010$0$1088$9b4e6d93@newsread2.arcor-online.net>

Show Full Headers
Complete Article Headers
Message-ID: <1110256720.4367.25.camel@frostbite.homeunix.net>
Subject: Re: [long] nntpserver error and debug logged
Date: Mon, 07 Mar 2005 22:38:40 -0600
From: Arctic Fidelity <spam@sacrificumdeo.net>
References: <5ridnR3tOZKw1LvfRVn-gQ@gvtc.com> <422ce010$0$1088$9b4e6d93@newsread2.arcor-online.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 07 Mar 2005 22:37:00 -0600
Newsgroups: news.software.nn
In-Reply-To: <422ce010$0$1088$9b4e6d93@newsread2.arcor-online.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution 2.0.2 (2.0.2-8)
Mime-Version: 1.0
Lines: 33
NNTP-Posting-Host: 64.185.189.174
X-Trace: sv3-MBrAKHfqLfTwQAgY7cAnUzjN3CZHjN70h2mUknlj4oXFFrkvUDNmnlfZoKRipFITIYkjnMKSDAKqhHZ!G18Xa11ckJTVZ+hL9K+xMEJLhT2yfscdNaSa1H/aOLI7hjyqZztqOikONsg5LB+wG0H4hAH+8vaO!FqRfh0GysrAW+A==
X-Complaints-To: abuse@gvtc.com
X-DMCA-Complaints-To: abuse@gvtc.com
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.32