git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c343b
)
s3:smbd/server: remember the ev_ctx on the smbd_parent_context
author
Stefan Metzmacher
<metze@samba.org>
Tue, 13 Dec 2011 07:31:09 +0000
(08:31 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 13 Dec 2011 11:36:35 +0000
(12:36 +0100)
metze
source3/smbd/server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index 4df68f9b45d1c7549a36c53bc5144156ddef64b8..7bb846a03d0b5d2336d5bd09ce27f3942b9a3e33 100644
(file)
--- 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");