summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-13 08:31:09 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-13 12:36:35 +0100
commitdc38db31ba3166148e41f7551b5160cc761f93f2 (patch)
treeb781e97db9bfcca1ee93c63462b8d29a00106128 /source3/smbd
parent20c343b8e89df2b87b40b38017b77fa342640f8c (diff)
downloadsamba-dc38db31ba3166148e41f7551b5160cc761f93f2.tar.gz
samba-dc38db31ba3166148e41f7551b5160cc761f93f2.tar.bz2
samba-dc38db31ba3166148e41f7551b5160cc761f93f2.zip
s3:smbd/server: remember the ev_ctx on the smbd_parent_context
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 4df68f9b45..7bb846a03d 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -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");