mirror of
https://github.com/samba-team/samba.git
synced 2025-02-08 05:57:51 +03:00
ctdb-common: Call missing tevent_wakeup_recv() in sock_daemon
https://bugzilla.samba.org/show_bug.cgi?id=13153 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
848f242598
commit
49308f7f22
@ -634,6 +634,14 @@ static void sock_daemon_run_started(struct tevent_req *subreq)
|
|||||||
struct sock_daemon_run_state *state = tevent_req_data(
|
struct sock_daemon_run_state *state = tevent_req_data(
|
||||||
req, struct sock_daemon_run_state);
|
req, struct sock_daemon_run_state);
|
||||||
struct sock_daemon_context *sockd = state->sockd;
|
struct sock_daemon_context *sockd = state->sockd;
|
||||||
|
bool status;
|
||||||
|
|
||||||
|
status = tevent_wakeup_recv(subreq);
|
||||||
|
TALLOC_FREE(subreq);
|
||||||
|
if (! status) {
|
||||||
|
tevent_req_error(req, EIO);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
D_NOTICE("daemon started, pid=%u\n", getpid());
|
D_NOTICE("daemon started, pid=%u\n", getpid());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user