summaryrefslogtreecommitdiff
path: root/server/providers
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2008-12-15 15:54:08 -0500
committerSimo Sorce <idra@samba.org>2008-12-15 15:56:16 -0500
commit4e2a152169175b18f5fac45b25a8d8c8a5bea2b5 (patch)
treeb3064bf9789e11eeb69cdbb806e4279fc3e60c51 /server/providers
parent519a8e9cba9df29a396d6509fb71a10ef1aacec0 (diff)
downloadsssd-4e2a152169175b18f5fac45b25a8d8c8a5bea2b5.tar.gz
sssd-4e2a152169175b18f5fac45b25a8d8c8a5bea2b5.tar.bz2
sssd-4e2a152169175b18f5fac45b25a8d8c8a5bea2b5.zip
Modified sbus_server_new() to take a talloc memory context to use
as a parent for the new server context object.
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/data_provider.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/providers/data_provider.c b/server/providers/data_provider.c
index 40012808..cc63b045 100644
--- a/server/providers/data_provider.c
+++ b/server/providers/data_provider.c
@@ -451,7 +451,8 @@ static int dp_srv_init(struct dp_ctx *dpctx)
sd_ctx->methods = dp_sbus_methods;
sd_ctx->message_handler = sbus_message_handler;
- ret = sbus_new_server(dpctx->ev, sd_ctx,
+ ret = sbus_new_server(dpctx,
+ dpctx->ev, sd_ctx,
&sbus_srv, dpbus_address,
dbus_dp_init, dpctx);
if (ret != EOK) {