Return to daemon.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / mqtt / src |
version 1.2.2.20, 2012/05/03 13:39:34 | version 1.2.2.21, 2012/05/03 14:00:33 |
---|---|
Line 336 acceptClient(sched_task_t *task) | Line 336 acceptClient(sched_task_t *task) |
if ((cli = accept(TASK_FD(task), &sa.sa, &sslen)) == -1) | if ((cli = accept(TASK_FD(task), &sa.sa, &sslen)) == -1) |
goto end; | goto end; |
else | else |
fcntl(TASK_FD(task), F_SETFL, fcntl(TASK_FD(task), F_GETFL, 0) | O_NONBLOCK); | fcntl(cli, F_SETFL, fcntl(cli, F_GETFL, 0) | O_NONBLOCK); |
v = io_allocVar(); | v = io_allocVar(); |
if (!v) { | if (!v) { |