dynamic task allocation
[mTask.git] / client / interpret.c
index 9862e7b..6f2f20d 100644 (file)
@@ -19,7 +19,7 @@
 void run_task(struct task *t)
 {
        uint8_t *program = t->bc;
-       int plen = t->tlen;
+       int plen = t->tasklength;
        int pc = 0;
        int sp = 0;
        char stack[STACKSIZE] = {0};