X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=client%2Ftask.c;fp=client%2Ftask.c;h=4ed23eec9a830df60ccf0d7372fb38878adbba98;hb=8e31b107ced5cae9230623a22d11ca37f391e74a;hp=9206a130d55b7ff665903b5e9468531f215b3898;hpb=4f5bec7a819e8a8ee9ee30b761c2159df0a7d8a4;p=mTask.git diff --git a/client/task.c b/client/task.c index 9206a13..4ed23ee 100644 --- a/client/task.c +++ b/client/task.c @@ -50,9 +50,11 @@ void task_register(void) debug("Received a task of length %d", t->tasklength); t->lastrun = 0L; t->taskid = taskid++; + t->value = 0; write_byte('t'); write16(t->taskid); + write16(mem_free()); write_byte('\n'); debug("free memory: %lu\n", mem_free()); }