summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-20 18:59:40 +0100
committerGünther Deschner <gd@samba.org>2011-03-29 16:03:52 +0200
commitc1b7c0c2b78417aac4365a03e858397324728605 (patch)
tree7131f403d6430d56cf64686146286340714c5df4 /source3/smbd
parent851f95b121f2fc16ef5cc532b8ad818f5c32e69f (diff)
downloadsamba-c1b7c0c2b78417aac4365a03e858397324728605.tar.gz
samba-c1b7c0c2b78417aac4365a03e858397324728605.tar.bz2
samba-c1b7c0c2b78417aac4365a03e858397324728605.zip
s3-spoolssd: Pass down event and messanging context.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index cc0bf1f02a..4b7637f89e 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -40,7 +40,8 @@
extern void start_epmd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
-extern void start_spoolssd(void);
+extern void start_spoolssd(struct event_context *ev_ctx,
+ struct messaging_context *msg_ctx);
#ifdef WITH_DFS
extern int dcelogin_atmost_once;
@@ -1253,7 +1254,8 @@ extern void build_options(bool screen);
"rpc_server", "spoolss",
"embedded");
if (StrCaseCmp(rpcsrv_type, "embedded") != 0) {
- start_spoolssd();
+ start_spoolssd(smbd_event_context(),
+ smbd_messaging_context());
}
}