diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2016-08-16 20:59:30 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-08-30 13:50:39 +0200 |
commit | ff35d4ffe5eedcb484deb7ef1a04c02c19e634c9 (patch) | |
tree | 804f36a18ceae121e4f824758337e6c8f143c023 /src/responder/secrets | |
parent | cf902c2b247c1b5793ae0ba58fd2dcbb0f78b686 (diff) | |
download | sssd-ff35d4ffe5eedcb484deb7ef1a04c02c19e634c9.tar.gz sssd-ff35d4ffe5eedcb484deb7ef1a04c02c19e634c9.tar.xz sssd-ff35d4ffe5eedcb484deb7ef1a04c02c19e634c9.zip |
SECRETS: Make reading the config options more uniform
One of confdb_get_ calls in sec_get_config() used a variable referenced
from rctx, the other used a hardcoded string. Use one of them on both
places instead.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/responder/secrets')
-rw-r--r-- | src/responder/secrets/secsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/secrets/secsrv.c b/src/responder/secrets/secsrv.c index 6f8052bdf..eb194a179 100644 --- a/src/responder/secrets/secsrv.c +++ b/src/responder/secrets/secsrv.c @@ -35,7 +35,7 @@ static int sec_get_config(struct sec_ctx *sctx) int ret; ret = confdb_get_int(sctx->rctx->cdb, - CONFDB_SEC_CONF_ENTRY, + sctx->rctx->confdb_service_path, CONFDB_SERVICE_FD_LIMIT, DEFAULT_SEC_FD_LIMIT, &sctx->fd_limit); |