diff options
Diffstat (limited to 'news/nn/patches/patch-ax')
-rw-r--r-- | news/nn/patches/patch-ax | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/news/nn/patches/patch-ax b/news/nn/patches/patch-ax index f54911163fa..263df10e31b 100644 --- a/news/nn/patches/patch-ax +++ b/news/nn/patches/patch-ax @@ -1,17 +1,20 @@ -$NetBSD: patch-ax,v 1.3 1999/08/22 22:55:46 kim Exp $ +$NetBSD: patch-ax,v 1.4 2002/07/08 02:21:20 kim Exp $ ---- nntp.c.orig Wed Jun 9 14:18:25 1999 -+++ nntp.c Sun Aug 22 18:14:18 1999 -@@ -769,7 +769,7 @@ - strncpy(host, (gethostbyname(host))->h_name, sizeof host); - - server_real_name = (gethostbyname(nntp_server))->h_name; -- use_nntp = (strcmp(host, server_real_name) != 0); +--- nntp.c.orig Sun Jun 16 23:26:44 2002 ++++ nntp.c Sun Jul 7 21:38:22 2002 +@@ -843,7 +843,11 @@ + server_real_name = hp->h_name; + else + nn_exitmsg(1, "NNTPSERVER is invalid"); ++#if 0 + use_nntp = (strcmp(host_name, server_real_name) != 0); ++#else + use_nntp = 1; ++#endif if (use_nntp) { freeobj(news_active); -@@ -1108,7 +1108,7 @@ +@@ -1170,7 +1174,7 @@ case OK_BODY: tmp = open_file(cptr->file_name, OPEN_APPEND|MUST_EXIST); |