diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-12 10:25:11 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-15 08:20:05 -0500 |
commit | 824c1e4d7e0ab9da7ad3f16f9c2e37bce7858132 (patch) | |
tree | 80e5ce9cc612001af9f104f450ad899c306761d3 /server/responder | |
parent | 15dc6ed9ecdea095b041190aeb8f67ed71efd0e7 (diff) | |
download | sssd-824c1e4d7e0ab9da7ad3f16f9c2e37bce7858132.tar.gz sssd-824c1e4d7e0ab9da7ad3f16f9c2e37bce7858132.tar.bz2 sssd-824c1e4d7e0ab9da7ad3f16f9c2e37bce7858132.zip |
Make attr_type an integer
Previously it was a string being passed and converted into an
integer. It will be more efficient this way (and simpler for other
implementers)
Diffstat (limited to 'server/responder')
-rw-r--r-- | server/responder/common/responder_dp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/responder/common/responder_dp.c b/server/responder/common/responder_dp.c index 9d54558f..782befb1 100644 --- a/server/responder/common/responder_dp.c +++ b/server/responder/common/responder_dp.c @@ -418,7 +418,7 @@ static int sss_dp_send_acct_req_create(struct resp_ctx *rctx, dbus_bool_t dbret; struct sss_dp_callback *cb; struct sss_dp_req *sdp_req; - const char *attrs = "core"; + uint32_t attrs = BE_ATTR_CORE; struct be_conn *be_conn; int ret; @@ -444,12 +444,12 @@ static int sss_dp_send_acct_req_create(struct resp_ctx *rctx, return ENOMEM; } - DEBUG(4, ("Sending request for [%s][%u][%s][%s]\n", + DEBUG(4, ("Sending request for [%s][%u][%d][%s]\n", domain, be_type, attrs, filter)); dbret = dbus_message_append_args(msg, DBUS_TYPE_UINT32, &be_type, - DBUS_TYPE_STRING, &attrs, + DBUS_TYPE_UINT32, &attrs, DBUS_TYPE_STRING, &filter, DBUS_TYPE_INVALID); if (!dbret) { |