diff options
author | Stephen Gallagher <sgallagh@sgallagh.bos.redhat.com> | 2008-12-15 10:35:49 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-12-15 15:41:50 -0500 |
commit | 519a8e9cba9df29a396d6509fb71a10ef1aacec0 (patch) | |
tree | 0efea08883d6a3fff9cbdd1f1689140bd5e702e0 /server/providers | |
parent | 124083f5801312aeef6f97402dba181d98eb708c (diff) | |
download | sssd-519a8e9cba9df29a396d6509fb71a10ef1aacec0.tar.gz sssd-519a8e9cba9df29a396d6509fb71a10ef1aacec0.tar.bz2 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.c | 2 | ||||
-rw-r--r-- | server/providers/data_provider_be.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/providers/data_provider.c b/server/providers/data_provider.c index 150c6f6a..40012808 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 cce4446f..982978aa 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; |