Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
m561247 committed Feb 23, 2024
1 parent 3f9d1c8 commit bb73055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ bool q_delete_mid(struct list_head *head)
while (back != forward && back->prev != forward) {
forward = forward->next;
back = back->prev;
back = back->prev;
}
list_del(forward);
element_t *node = list_entry(forward, element_t, list);
Expand Down

0 comments on commit bb73055

Please sign in to comment.