summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-15 11:57:24 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-16 16:29:41 +0100
commit16bd41b7e708a6891da1ad812e20b0988f7ac79f (patch)
treebb5d999ccb406893f15d8e98c506da140e565629
parentcbb67e9e2e1c2b27fdca356b9f82642cb10a985d (diff)
downloadsamba-16bd41b7e708a6891da1ad812e20b0988f7ac79f.tar.gz
samba-16bd41b7e708a6891da1ad812e20b0988f7ac79f.tar.bz2
samba-16bd41b7e708a6891da1ad812e20b0988f7ac79f.zip
s3:printing/spoolssd: avoid using server_messaging_context()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 16 16:29:41 CET 2011 on sn-devel-104
-rw-r--r--source3/printing/spoolssd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index fa722e216d..9a5d1b0fef 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -281,7 +281,7 @@ static bool spoolss_child_init(struct tevent_context *ev_ctx,
{
NTSTATUS status;
struct rpc_srv_callbacks spoolss_cb;
- struct messaging_context *msg_ctx = server_messaging_context();
+ struct messaging_context *msg_ctx = messaging_init(NULL, ev_ctx);
bool ok;
status = reinit_after_fork(msg_ctx, ev_ctx,