summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0407b5)
raw | patch | inline | side by side (parent: b0407b5)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 23 Oct 2014 19:01:26 +0000 (21:01 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 23 Oct 2014 19:01:26 +0000 (21:01 +0200) |
src/core/store_lookup.c | patch | blob | history |
index 6613c21f503b375456661af679a9218485d5ddff..4179df4567f8dc66ba6f893902c5765fe41800f6 100644 (file)
--- a/src/core/store_lookup.c
+++ b/src/core/store_lookup.c
iter = sdb_avltree_get_iter(HOST(obj)->attributes);
while (sdb_avltree_iter_has_next(iter)) {
- sdb_object_t *child = sdb_avltree_iter_get_next(iter);
- if (filter && (! sdb_store_matcher_matches(filter,
- STORE_OBJ(child), NULL)))
+ sdb_store_obj_t *child = STORE_OBJ(sdb_avltree_iter_get_next(iter));
+ if (filter && (! sdb_store_matcher_matches(filter, child, NULL)))
continue;
- if (sdb_store_matcher_matches(CHILD_M(m)->m, obj, filter)) {
+ if (sdb_store_matcher_matches(CHILD_M(m)->m, child, filter)) {
status = 1;
break;
}