mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-01-08 12:24:39 +00:00
LIST: fix logic in qb_list_splice()
this fixes "make check" Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
4b58dda9fa
commit
ab3cc42537
@ -130,7 +130,7 @@ static inline void qb_list_splice(struct qb_list_head *list,
|
||||
struct qb_list_head *last = list->prev;
|
||||
struct qb_list_head *at = head->next;
|
||||
|
||||
if (qb_list_empty(list) == 0) {
|
||||
if (qb_list_empty(list)) {
|
||||
return;
|
||||
}
|
||||
first->prev = head;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user