diff options
Diffstat (limited to 'source/n/nn/nn.badnntphost.diff')
-rw-r--r-- | source/n/nn/nn.badnntphost.diff | 14 |
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 00000000..919b7d42 --- /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) { |