summaryrefslogtreecommitdiffstats
path: root/source/n/nn/nn.badnntphost.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/nn/nn.badnntphost.diff')
-rw-r--r--source/n/nn/nn.badnntphost.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/n/nn/nn.badnntphost.diff b/source/n/nn/nn.badnntphost.diff
new file mode 100644
index 000000000..919b7d42e
--- /dev/null
+++ b/source/n/nn/nn.badnntphost.diff
@@ -0,0 +1,14 @@
+--- ./nntp.c.orig 2005-04-19 18:06:51.000000000 -0500
++++ ./nntp.c 2006-06-27 17:14:32.000000000 -0500
+@@ -913,8 +913,9 @@
+
+ if ((hp = gethostbyname(nntp_server)) != NULL)
+ server_real_name = hp->h_name;
+- else
+- nn_exitmsg(1, "NNTPSERVER is invalid");
++ else {
++ nn_exitmsg(1, "NNTP host is invalid -- please edit /etc/nntpserver");
++ }
+ use_nntp = (strcmp(host_name, server_real_name) != 0);
+
+ if (use_nntp) {