summaryrefslogtreecommitdiffstats
path: root/server/providers
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@sgallagh.bos.redhat.com>2008-12-15 10:35:49 -0500
committerSimo Sorce <idra@samba.org>2008-12-15 15:41:50 -0500
commit519a8e9cba9df29a396d6509fb71a10ef1aacec0 (patch)
tree0efea08883d6a3fff9cbdd1f1689140bd5e702e0 /server/providers
parent124083f5801312aeef6f97402dba181d98eb708c (diff)
downloadsssd-519a8e9cba9df29a396d6509fb71a10ef1aacec0.tar.gz
sssd-519a8e9cba9df29a396d6509fb71a10ef1aacec0.tar.xz
sssd-519a8e9cba9df29a396d6509fb71a10ef1aacec0.zip
Adding a parameter to the sbus_service_sbus_init function to allow passing in an sbus_conn_destructor_fn to the sbus_new_connection() function. Fixing minor warning about the usage of talloc_reference.
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/data_provider.c2
-rw-r--r--server/providers/data_provider_be.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/providers/data_provider.c b/server/providers/data_provider.c
index 150c6f6ae..40012808f 100644
--- a/server/providers/data_provider.c
+++ b/server/providers/data_provider.c
@@ -133,7 +133,7 @@ static int dp_monitor_init(struct dp_ctx *dpctx)
/* Set up SBUS connection to the monitor */
ss_ctx = sssd_service_sbus_init(dpctx, dpctx->ev, dpctx->cdb,
- mon_sbus_methods);
+ mon_sbus_methods, NULL);
if (ss_ctx == NULL) {
DEBUG(0, ("Could not initialize D-BUS.\n"));
return ENOMEM;
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c
index cce4446f2..982978aac 100644
--- a/server/providers/data_provider_be.c
+++ b/server/providers/data_provider_be.c
@@ -191,7 +191,7 @@ static int mon_cli_init(struct be_ctx *ctx)
/* Set up SBUS connection to the monitor */
ss_ctx = sssd_service_sbus_init(ctx, ctx->ev, ctx->cdb,
- mon_sbus_methods);
+ mon_sbus_methods, NULL);
if (ss_ctx == NULL) {
DEBUG(0, ("Could not initialize D-BUS.\n"));
return ENOMEM;