mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
tevent: Move the code below the trigger check
This makes the next commit smaller. Signed-off-by: Pavel Filipenský <pfilipen@redhat.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
3198b94a2d
commit
ddc8f4f4d8
@ -164,12 +164,6 @@ static struct tevent_queue_entry *tevent_queue_add_internal(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
e->queue = queue;
|
||||
e->req = req;
|
||||
e->ev = ev;
|
||||
e->trigger = trigger;
|
||||
e->private_data = private_data;
|
||||
|
||||
/*
|
||||
* if there is no trigger, it is just a blocker
|
||||
*/
|
||||
@ -177,6 +171,12 @@ static struct tevent_queue_entry *tevent_queue_add_internal(
|
||||
e->triggered = true;
|
||||
}
|
||||
|
||||
e->queue = queue;
|
||||
e->req = req;
|
||||
e->ev = ev;
|
||||
e->trigger = trigger;
|
||||
e->private_data = private_data;
|
||||
|
||||
if (queue->length > 0) {
|
||||
/*
|
||||
* if there are already entries in the
|
||||
|
Loading…
x
Reference in New Issue
Block a user