--- mqtt/src/daemon.c 2012/05/03 14:00:33 1.2.2.21 +++ mqtt/src/daemon.c 2012/05/03 15:05:37 1.2.2.22 @@ -357,7 +357,7 @@ acceptClient(sched_task_t *task) ioDEBUG(1, "Terminated client with socket=%d", cli); } end: - if (!schedRead(TASK_ROOT(task), acceptClient, NULL, TASK_FD(task), NULL, 0)) + if (!schedRead(root, acceptClient, NULL, TASK_FD(task), NULL, 0)) ioLIBERR(sched); return NULL; }