Re: NNTPC: nn & nntpcache-1.0.71

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

 




Chris Wedgwood writes:
>    I have had lots of problems using most straight versions of NN with
>    anything but a direct news service.
>
>Virgin nn seems to have a problems. nn-tk does however work.
>
>    There is a small issue with it, in that it doesn't like talking NNTP
>    with a server on the same host as it is running.  I have a patch if
>    this is a problem for you.
>
>Hmm...I wouldn't mind actually. At the moment its not a big deal as I have
>my dialup in another box which I connect to via Ethernet.

OK, here it is.  It's pretty simple really.  The author assumed that
your nntp server has a full /usr/spool/news, and so decides not to
use nntp when running on the same machine as the server.

This is for nn-tk.16.0.  I don't know if there are any newer versions...

Cheers,


Duncan.



*** nn-tk.16.0/nntp.c	Fri Jul 18 05:09:34 1997
--- nn-tk.16.0.DIS/nntp.c	Tue Jul 22 16:14:54 1997
***************
*** 1016,1022 ****
  	} else {
  	    server_real_name = nntp_server;
  	}
!     use_nntp = (strcmp(host, server_real_name) != 0);
      } else {
  	use_nntp = 0;
      }
--- 1016,1023 ----
  	} else {
  	    server_real_name = nntp_server;
  	}
!         /* use_nntp = (strcmp(host, server_real_name) != 0); */
!         use_nntp = 1;
      } else {
  	use_nntp = 0;
      }


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux