maybe breaking alot here.

This commit is contained in:
Jonathan Turner
2023-11-29 17:35:59 -05:00
parent 51b1572b45
commit 7a21ede18d
3 changed files with 16 additions and 7 deletions

View File

@@ -465,10 +465,7 @@ void print_list( node *head, bool ft_descending_ascending)
node *iterator = NULL;
if( ft_descending_ascending) {
iterator = head;
while( iterator != NULL) {
print_node( iterator);
iterator = iterator->next;
}
} else {
iterator = get_tail( head);
while( iterator != NULL) {