From b0407b546e1c61a1a5b0d955ae60911b0f05c80e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 23 Oct 2014 08:08:21 +0200 Subject: [PATCH] store: Fixed a typo in the type check of the child matcher. --- src/core/store_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/store_lookup.c b/src/core/store_lookup.c index e2ae066..6613c21 100644 --- a/src/core/store_lookup.c +++ b/src/core/store_lookup.c @@ -184,7 +184,7 @@ match_child(sdb_store_matcher_t *m, sdb_store_obj_t *obj, iter = sdb_avltree_get_iter(HOST(obj)->services); else if (m->type == MATCHER_METRIC) iter = sdb_avltree_get_iter(HOST(obj)->metrics); - else if (m->type == SDB_ATTRIBUTE) + else if (m->type == MATCHER_ATTRIBUTE) iter = sdb_avltree_get_iter(HOST(obj)->attributes); while (sdb_avltree_iter_has_next(iter)) { -- 2.30.2