summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-12 14:55:54 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-12 21:50:25 +0100
commit0f9d14820e222233d63b7a79b4b1ff044332ef41 (patch)
treed3e48dcf07b6d8364ac7cabf80391b626b5509fb /source3/libnet
parent77dc976b53490e06dff649f199033fe799b714bf (diff)
downloadsamba-0f9d14820e222233d63b7a79b4b1ff044332ef41.tar.gz
samba-0f9d14820e222233d63b7a79b4b1ff044332ef41.tar.bz2
samba-0f9d14820e222233d63b7a79b4b1ff044332ef41.zip
s3: Remove a bunch of calls to procid_self()
All callers to messaging_[re]init only used procid_self()
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_samsync.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libnet/libnet_samsync.c b/source3/libnet/libnet_samsync.c
index 75fc329e0a..3ab635121a 100644
--- a/source3/libnet/libnet_samsync.c
+++ b/source3/libnet/libnet_samsync.c
@@ -81,8 +81,7 @@ NTSTATUS libnet_samsync_init_context(TALLOC_CTX *mem_ctx,
NT_STATUS_HAVE_NO_MEMORY(ctx->domain_sid_str);
}
- ctx->msg_ctx = messaging_init(ctx, procid_self(),
- event_context_init(ctx));
+ ctx->msg_ctx = messaging_init(ctx, event_context_init(ctx));
NT_STATUS_HAVE_NO_MEMORY(ctx->msg_ctx);
*ctx_p = ctx;