modified: src/llist.c

modified:   src/planner.c
	modified:   src/planner.h
	modified:   src/test.c
	new file:   test.c
This commit is contained in:
simon committed 2024-12-11 13:41:31 +01:00
1 parent f559d2a8bf
commit a504f3cb03
5 files changed
+40 -8

No files matched your search

+6 -1
View File
@@ -35,11 +35,16 @@ int main() {
llist *found = llistGet(list1, &search);
if (found != NULL) {
((Task *)found->data)->deadline = time(NULL) + days(10);
((Task *)found->data)->priority = 9;
printTask(found->data);
} else {
printf("%s not in List!\n", search.name);
}
printTask(&t2);
char *t1Str = taskToStr(t1);
printf("%s\n", t1Str);
free(t1Str);
free(t1);
return 0;