[FEATURE]support get hit groups and items

This commit is contained in:
刘文坛
2023-08-10 12:21:04 +00:00
parent 42f4480271
commit d030e5a452
5 changed files with 70 additions and 39 deletions

View File

@@ -129,7 +129,6 @@ int maat_kv_read_unNull(struct maat_kv_store *store, const char *key, size_t key
strlowercase(key, key_len, key_lowercase, sizeof(key_lowercase));
HASH_FIND(hh, store->hash, key_lowercase, key_len, kv);
int i = 0;
if (kv) {
*value = kv->val;
return 1;
@@ -181,4 +180,4 @@ struct maat_kv_store *maat_kv_store_duplicate(struct maat_kv_store *origin_map)
}
return target;
}
}