Sorry, fixed append
This commit is contained in:
parent
97e61a2cbd
commit
0e63b410fa
2
llist.h
2
llist.h
@ -26,7 +26,7 @@ llist Llist(char *name, node *head){
|
||||
return nllist;
|
||||
}
|
||||
|
||||
void append(llist l, node *n){
|
||||
void append(llist *l, node *n){
|
||||
if(l->head != NULL){
|
||||
node *temp = l->head;
|
||||
while(temp->next != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user