mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 15:17:01 -04:00
ISC_LIST_APPENDLIST now clears list2 consistently
This commit is contained in:
parent
1aeb587095
commit
b1a67f989f
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue