X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;ds=sidebyside;f=int%2Ftask.c;h=3b5690a01a623929903e101287cb7ec5608e4a65;hb=955c4eb992b45e48a1a3dad6418236431ddcd095;hp=2e0fbb40a41279afec56527e258c83371d3112a6;hpb=7edf1780ae3b91d9136db2d94b25e88d64896645;p=mTask.git diff --git a/int/task.c b/int/task.c index 2e0fbb4..3b5690a 100644 --- a/int/task.c +++ b/int/task.c @@ -20,21 +20,18 @@ int task_register(int fd) die("Trying to add too much tasks...\n"); memset(&tasks[ct], 0, sizeof(struct task)); - debug("Interval: "); //Read interval read16(fd, c, tasks[ct].interval); //Read tasklength - debug("Length: "); read16(fd, c, tasks[ct].tlen); if(tasks[ct].tlen > MAXTASKSIZE) die("Task is too long: %d\n", tasks[ct].tlen); //Read task bytecode for(int i = 0; i