--- libaitsched/src/hooks.c 2011/10/04 13:50:05 1.2.2.2 +++ libaitsched/src/hooks.c 2011/10/04 14:04:35 1.2.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: hooks.c,v 1.2.2.2 2011/10/04 13:50:05 misho Exp $ +* $Id: hooks.c,v 1.2.2.3 2011/10/04 14:04:35 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -316,7 +316,7 @@ retry: if ((en = kevent(r->root_kq, NULL, 0, res, KQ_EVENTS, timeout)) == -1) { if (r->root_hooks.hook_exec.exception) { if (r->root_hooks.hook_exec.exception(r, NULL)) - return NULL; /* exit from scheduler */ + return NULL; } else LOGERR; #ifdef NDEBUG @@ -387,7 +387,7 @@ retry: if (kevent(r->root_kq, evt, 1, NULL, 0, &nw) == -1) { if (r->root_hooks.hook_exec.exception) { if (r->root_hooks.hook_exec.exception(r, NULL)) - return NULL; /* exit from scheduler */ + return NULL; } else LOGERR; }