summaryrefslogblamecommitdiffstats
path: root/source/n/nn/nn.badnntphost.diff
blob: ccb6de78805324e469090d1ce4a9894b290eac28 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                           

                                                   
         
                                               



                                                                              
--- ./nntp.c.orig	2017-01-04 15:03:32.235592431 -0600
+++ ./nntp.c	2017-01-04 15:06:09.724603794 -0600
@@ -918,7 +918,7 @@
     if ((hp = gethostbyname(nntp_server)) != NULL)
 	server_real_name = hp->h_name;
     else
-	nn_exitmsg(1, "NNTPSERVER is invalid");
+        nn_exitmsg(1, "NNTP host is invalid -- please edit /etc/nntpserver");
 #ifdef USE_SPOOL
     use_nntp = (strcasecmp(host, server_real_name) != 0);
 #else /* USE_SPOOL */