diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-08-05 05:44:20 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-08-10 09:42:19 -0400 |
commit | f1e4471551aa74015579bff0b64735cc9b085b74 (patch) | |
tree | 45071c03d3f4810e8214a9097c36b21641d9cfc3 /server/responder/common/responder_common.c | |
parent | 0c7050d8569ce7ee61b13d02b4733249a11e171f (diff) | |
download | sssd-f1e4471551aa74015579bff0b64735cc9b085b74.tar.gz sssd-f1e4471551aa74015579bff0b64735cc9b085b74.tar.bz2 sssd-f1e4471551aa74015579bff0b64735cc9b085b74.zip |
merge server and connection structures
This reduce code duplication as it allows to use one set of watch and timeout
functions, and at the same time also allow not to use a secondary structure just
to unify these functions.
Diffstat (limited to 'server/responder/common/responder_common.c')
-rw-r--r-- | server/responder/common/responder_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/responder/common/responder_common.c b/server/responder/common/responder_common.c index 1fd66907..c8e5d818 100644 --- a/server/responder/common/responder_common.c +++ b/server/responder/common/responder_common.c @@ -310,8 +310,8 @@ static int sss_sbus_init(struct resp_ctx *rctx) return ENOMEM; } - ret = sbus_client_init(rctx, rctx->ev, rctx->sm_ctx, - sbus_address, &rctx->conn, + ret = sbus_client_init(rctx, rctx->ev, sbus_address, + rctx->sm_ctx, &rctx->conn, NULL, NULL); if (ret != EOK) { DEBUG(0, ("Failed to connect to monitor services.\n")); |