lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] -dump/-source vrs .newsauth: bug or feature?


From: Thomas Dickey
Subject: Re: [Lynx-dev] -dump/-source vrs .newsauth: bug or feature?
Date: Sun, 24 May 2009 19:14:46 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, May 13, 2009 at 09:29:41PM +0000, address@hidden wrote:
> 
> I tried adding the changes, and ran this:
> 
> $ lynx.dev -trace -dump  nntp://news.lafn.org/comp.lang.forth
> 
> lynx: Can't access startfile nntp://news.lafn.org/comp.lang.forth

This change seems to fix the problem:

diff -u -r1.59 HTNews.c
--- HTNews.c    2009/05/10 22:53:23     1.59 
+++ HTNews.c    2009/05/24 23:11:26 
@@ -389,9 +389,9 @@ 
     int status, tries;
 
     /*
-     * Make sure we have an interactive user and a host.  - FM 
+     * Make sure we have a host.  - FM 
      */
-    if (dump_output_immediately || !(host && *host)) 
+    if (isEmpty(host))   
        return NNTPAUTH_ERROR;
 
     /*
> HTNews: Connected to news host news.lafn.org.
> NNTP Response: 200 news.lafn.org InterNetNews NNRP server INN 2.4.5 ready 
> (posting ok).
> NNTP command to be sent: mode reader
> NNTP Response: 200 news.lafn.org InterNetNews NNRP server INN 2.4.5 ready 
> (posting ok).
> NNTP command to be sent: GROUP comp.lang.forth
> NNTP Response: 480 Authentication required for command
> HTAccess:  status=-29999
> HTAccess: `nntp://news.lafn.org/comp.lang.forth' has been accessed, No data 
> loaded.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]