mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
ISC_LIST_APPENDLIST now clears list2 consistently
This commit is contained in:
parent
1aeb587095
commit
b1a67f989f
@ -105,9 +105,9 @@
|
||||
(list1).tail->link.next = (list2).head; \
|
||||
(list2).head->link.prev = (list1).tail; \
|
||||
(list1).tail = (list2).tail; \
|
||||
(list2).head = NULL; \
|
||||
(list2).tail = NULL; \
|
||||
} \
|
||||
(list2).head = NULL; \
|
||||
(list2).tail = NULL; \
|
||||
} while (0)
|
||||
|
||||
#define ISC_LIST_ENQUEUE(list, elt, link) ISC_LIST_APPEND(list, elt, link)
|
||||
|
Loading…
x
Reference in New Issue
Block a user