mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
s3:smbd/server: remember the ev_ctx on the smbd_parent_context
metze
This commit is contained in:
parent
20c343b8e8
commit
dc38db31ba
@ -358,6 +358,7 @@ struct smbd_open_socket;
|
||||
struct smbd_parent_context {
|
||||
bool interactive;
|
||||
|
||||
struct tevent_context *ev_ctx;
|
||||
struct messaging_context *msg_ctx;
|
||||
|
||||
/* the list of listening sockets */
|
||||
@ -1288,6 +1289,7 @@ extern void build_options(bool screen);
|
||||
exit_server("talloc(struct smbd_parent_context) failed");
|
||||
}
|
||||
parent->interactive = interactive;
|
||||
parent->ev_ctx = ev_ctx;
|
||||
parent->msg_ctx = msg_ctx;
|
||||
if (!open_sockets_smbd(parent, ev_ctx, msg_ctx, ports))
|
||||
exit_server("open_sockets_smbd() failed");
|
||||
|
Loading…
x
Reference in New Issue
Block a user