Minor fixes
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ int libcdsb_dict_get(dict_t* x, const void* k, vtype t, void* _, dict_access_cal
|
||||
cmp = vtype_compare(k, t, key, c->key_type);
|
||||
|
||||
if (cmp == 0) {
|
||||
cmp = (callback) ? callback(key, t, vnode_peek(&c->value, c->val_type), c->val_type, _) : 0;
|
||||
cmp = (callback) ? callback(key, c->key_type, vnode_peek(&c->value, c->val_type), c->val_type, _) : 0;
|
||||
|
||||
if (cut) {
|
||||
c = dnode_delete(x->nodes + index, c);
|
||||
|
||||
Reference in New Issue
Block a user