diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c index 262fdaa22ed..8dcc0c956ef 100644 --- a/lib/tevent/tevent.c +++ b/lib/tevent/tevent.c @@ -1,4 +1,4 @@ -/* +/* Unix SMB/CIFS implementation. main select loop and event handling Copyright (C) Andrew Tridgell 2003 @@ -763,7 +763,7 @@ void tevent_loop_set_nesting_hook(struct tevent_context *ev, tevent_nesting_hook hook, void *private_data) { - if (ev->nesting.hook_fn && + if (ev->nesting.hook_fn && (ev->nesting.hook_fn != hook || ev->nesting.hook_private != private_data)) { /* the way the nesting hook code is currently written @@ -789,7 +789,7 @@ static void tevent_abort_nesting(struct tevent_context *ev, const char *location } /* - do a single event loop using the events defined in ev + do a single event loop using the events defined in ev */ int _tevent_loop_once(struct tevent_context *ev, const char *location) { @@ -971,7 +971,7 @@ int _tevent_loop_wait(struct tevent_context *ev, const char *location) /* re-initialise a tevent context. This leaves you with the same event context, but all events are wiped and the structure is - re-initialised. This is most useful after a fork() + re-initialised. This is most useful after a fork() zero is returned on success, non-zero on failure */