diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-12-14 07:20:11 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-21 21:28:49 -0500 |
commit | 3bea01f01d76e1e95a8239c0d3f67073992136a1 (patch) | |
tree | 5da8c3f66905726489fcffba5934db221f6dbed4 /src/confdb/confdb.h | |
parent | 3e5caddf4840e40b49ccf24e1ce7b531a692023b (diff) | |
download | sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.gz sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.xz sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.zip |
Don't give memory context in confdb where not needed
Diffstat (limited to 'src/confdb/confdb.h')
-rw-r--r-- | src/confdb/confdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 819e8ff31..18484f023 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -343,7 +343,7 @@ int confdb_get_string(struct confdb_ctx *cdb, TALLOC_CTX *ctx, * @return ERANGE - The value stored in the ConfDB was outside the range * [INT_MIN..INT_MAX] */ -int confdb_get_int(struct confdb_ctx *cdb, TALLOC_CTX *ctx, +int confdb_get_int(struct confdb_ctx *cdb, const char *section, const char *attribute, int defval, int *result); @@ -372,7 +372,7 @@ int confdb_get_int(struct confdb_ctx *cdb, TALLOC_CTX *ctx, * single-valued, or the value was not a boolean. * @return EIO - An I/O error occurred while communicating with the ConfDB */ -int confdb_get_bool(struct confdb_ctx *cdb, TALLOC_CTX *ctx, +int confdb_get_bool(struct confdb_ctx *cdb, const char *section, const char *attribute, bool defval, bool *result); |