summaryrefslogtreecommitdiffstats
path: root/server/util
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-12-08 14:05:22 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-08 23:35:25 -0500
commite041252f788d80c53d91696b5bfc37cb47ccda54 (patch)
tree43454b7a700a76ea21b215d51cbe0b0842aae0ac /server/util
parent2b6b5bca3d55fc07eb22af3af3f77a3f17a6d7a0 (diff)
downloadsssd-e041252f788d80c53d91696b5bfc37cb47ccda54.tar.gz
sssd-e041252f788d80c53d91696b5bfc37cb47ccda54.tar.xz
sssd-e041252f788d80c53d91696b5bfc37cb47ccda54.zip
dhash: Add private pointer for delete callback
Also pass a flag to the delete callback to tell it if this is a normal entry removal or we are cleaning up the tbale definitively.
Diffstat (limited to 'server/util')
-rw-r--r--server/util/find_uid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/util/find_uid.c b/server/util/find_uid.c
index 09c47b3d8..63907f17a 100644
--- a/server/util/find_uid.c
+++ b/server/util/find_uid.c
@@ -263,7 +263,8 @@ errno_t get_uid_table(TALLOC_CTX *mem_ctx, hash_table_t **table)
int ret;
ret = hash_create_ex(INITIAL_TABLE_SIZE, table, 0, 0, 0, 0,
- hash_talloc, hash_talloc_free, mem_ctx, NULL);
+ hash_talloc, hash_talloc_free, mem_ctx,
+ NULL, NULL);
if (ret != HASH_SUCCESS) {
DEBUG(1, ("hash_create_ex failed [%s]\n", hash_error_string(ret)));
return ENOMEM;