mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
use ISC_LIST_APPENDUNSAFE
This commit is contained in:
parent
8aff41ca8a
commit
a009a2da12
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Id: ssu.c,v 1.15 2000/12/07 06:07:12 bwelling Exp $
|
* $Id: ssu.c,v 1.16 2000/12/07 17:52:37 marka Exp $
|
||||||
* Principal Author: Brian Wellington
|
* Principal Author: Brian Wellington
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -212,8 +212,7 @@ dns_ssutable_addrule(dns_ssutable_t *table, isc_boolean_t grant,
|
|||||||
rule->types = NULL;
|
rule->types = NULL;
|
||||||
|
|
||||||
rule->magic = SSURULEMAGIC;
|
rule->magic = SSURULEMAGIC;
|
||||||
ISC_LINK_INIT(rule, link);
|
ISC_LIST_APPENDUNSAFE(table->rules, rule, link);
|
||||||
ISC_LIST_APPEND(table->rules, rule, link);
|
|
||||||
|
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user