28 lines
649 B
Text
28 lines
649 B
Text
$NetBSD: patch-ax,v 1.9 2006/12/01 13:54:27 joerg Exp $
|
|
|
|
--- nntp.c.orig 2005-04-19 23:06:51.000000000 +0000
|
|
+++ nntp.c
|
|
@@ -57,10 +57,9 @@
|
|
#endif
|
|
|
|
/* This is necessary due to the definitions in m-XXX.h */
|
|
+/* Many systems needs it for struct sockaddr_in */
|
|
|
|
-#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER)
|
|
#include <netinet/in.h>
|
|
-#endif
|
|
|
|
#ifdef EXCELAN
|
|
|
|
@@ -915,7 +914,11 @@ nntp_check(void)
|
|
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);
|