Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
e6d3ffb6
Commit
e6d3ffb6
authored
Oct 25, 2000
by
Mark Andrews
Browse files
ISC_LINK_INIT + ISC_LIST_APPEND -> ISC_LIST_APPENDUNSAFE
parent
b589e906
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/dig/nslookup.c
View file @
e6d3ffb6
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nslookup.c,v 1.6
1
2000/10/25 0
4:2
6:16 marka Exp $ */
/* $Id: nslookup.c,v 1.6
2
2000/10/25 06:1
7:5
6 marka Exp $ */
#include
<config.h>
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment