aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-06-23 17:56:43 +0700
committerDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-06-23 17:56:43 +0700
commitaf1ffccd011238992b17f3957107bdbc92541eda (patch)
treeeedb7ad1e5e100a3887fcd05ef9e5f620e4ed61a
parent3e9252f426e7cb1820be447f4d9ab3927cd479c1 (diff)
fix: fb linked list misplaced
-rw-r--r--src/fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fb.c b/src/fb.c
index 7e5bf1f..08ae20c 100644
--- a/src/fb.c
+++ b/src/fb.c
@@ -19,7 +19,7 @@ fb_t *fblist_insert(fb_t *at, fb_t *new)
fb_t *fblist_append(fb_t *new)
{
- fblist_insert(new, tail);
+ fblist_insert(tail, new);
tail = new;
return new;
}