diff options
Diffstat (limited to 'news/knews/patches/patch-ah')
-rw-r--r-- | news/knews/patches/patch-ah | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/news/knews/patches/patch-ah b/news/knews/patches/patch-ah index d3c4b634d5f..8e7a7243620 100644 --- a/news/knews/patches/patch-ah +++ b/news/knews/patches/patch-ah @@ -1,7 +1,7 @@ -$NetBSD: patch-ah,v 1.1 2001/02/23 22:19:42 tron Exp $ +$NetBSD: patch-ah,v 1.2 2001/02/24 22:40:40 tron Exp $ --- src/xutil.c.orig Fri Jan 9 18:16:20 1998 -+++ src/xutil.c Fri Feb 23 22:44:30 2001 ++++ src/xutil.c Sat Feb 24 23:32:58 2001 @@ -18,6 +18,7 @@ #include "resource.h" #include "save.h" @@ -10,26 +10,12 @@ $NetBSD: patch-ah,v 1.1 2001/02/23 22:19:42 tron Exp $ #include "server.h" #include "tag.h" #include "thread.h" -@@ -40,6 +41,10 @@ - #include <X11/xpm.h> - #endif - -+#if defined(USE_INET6) -+#include <netdb.h> -+#endif -+ - void set_curr_art(ARTICLE *art, int center) - { - if (global.mode == NewsModeThread) { -@@ -343,7 +348,11 @@ +@@ -343,7 +344,7 @@ qf(main_server); server_close(main_server); -+#if defined(USE_INET6) -+ freeaddrinfo(global.serv_addr); -+#else - XtFree(global.serv_addr); -+#endif +- XtFree(global.serv_addr); ++ free_addr(global.serv_addr); global.serv_addr = NULL; clear_thread_context(main_thr); |