From b1a67f989f703e1b8266b95be194e8a6c058e6ce Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 8 Sep 1999 05:56:21 +0000 Subject: [PATCH] ISC_LIST_APPENDLIST now clears list2 consistently --- lib/isc/include/isc/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/include/isc/list.h b/lib/isc/include/isc/list.h index a799c2ae48..5dbc311f35 100644 --- a/lib/isc/include/isc/list.h +++ b/lib/isc/include/isc/list.h @@ -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)