repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update memory consumption on task acknowledgement
[mTask.git]
/
client
/
task.c
diff --git
a/client/task.c
b/client/task.c
index
9206a13
..
4ed23ee
100644
(file)
--- 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());
}