From: Sebastian Harl Date: Thu, 23 Oct 2014 06:08:21 +0000 (+0200) Subject: store: Fixed a typo in the type check of the child matcher. X-Git-Tag: sysdb-0.6.0~73 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0407b546e1c61a1a5b0d955ae60911b0f05c80e;p=sysdb.git store: Fixed a typo in the type check of the child matcher. --- 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)) {