Loading src/list.c +1 −1 Changes for src/list.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ list_t list_push(list_t l, void* x){ // add x to the end of l list_t c = malloc(sizeof(*c)); c -> val = x; if(l == NULL){ if(list_is_empty(l)){ c -> id = 1; c -> next = NULL; } else { Loading Loading
src/list.c +1 −1 Changes for src/list.c: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ list_t list_push(list_t l, void* x){ // add x to the end of l list_t c = malloc(sizeof(*c)); c -> val = x; if(l == NULL){ if(list_is_empty(l)){ c -> id = 1; c -> next = NULL; } else { Loading