mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
messaging: Disable the correct fde on error
We might be called from different event contexts and thus via different fde's Signed-off-by: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7099ba8770
commit
6c21d9977f
@ -1026,7 +1026,7 @@ static void messaging_dgm_read_handler(struct tevent_context *ev,
|
||||
return;
|
||||
}
|
||||
/* Problem with the socket. Set it unreadable. */
|
||||
tevent_fd_set_flags(ctx->read_fde, 0);
|
||||
tevent_fd_set_flags(fde, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user