From 290f2b95ee100735f55fe10af457cc65158af043 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Wed, 27 May 2020 16:21:02 -0400 Subject: Initial working commit There are still some errors when run through valgrind, but it performs as expected for the test file. --- ll.c | 1 + 1 file changed, 1 insertion(+) (limited to 'll.c') diff --git a/ll.c b/ll.c index aa0879a..910b869 100644 --- a/ll.c +++ b/ll.c @@ -5,5 +5,6 @@ llnode* appendll(llnode* tail, char* str){ llnode* new = malloc(sizeof(llnode)); if (tail != NULL) tail->next = new; new->str = str; + new->next = NULL; return new; } -- cgit