[FEATURE]support get hit groups and items
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user