From e6d3ffb6655de7aaa797f431f87dce1ef89e9d36 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 25 Oct 2000 06:17:56 +0000 Subject: [PATCH] ISC_LINK_INIT + ISC_LIST_APPEND -> ISC_LIST_APPENDUNSAFE --- bin/dig/nslookup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index e3869249a1..5d2f1c8221 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nslookup.c,v 1.61 2000/10/25 04:26:16 marka Exp $ */ +/* $Id: nslookup.c,v 1.62 2000/10/25 06:17:56 marka Exp $ */ #include @@ -783,8 +783,7 @@ setsrv(char *opt) { if (srv == NULL) fatal("Memory allocation failure."); safecpy(srv->servername, opt, MXNAME-1); - ISC_LINK_INIT(srv, link); - ISC_LIST_APPEND(server_list, srv, link); + ISC_LIST_APPENDUNSAFE(server_list, srv, link); } static void