From: Sebastian Harl Date: Sun, 8 Mar 2015 21:52:49 +0000 (+0100) Subject: store: Apply iterator expressions to the iterated objects. X-Git-Tag: sysdb-0.8.0~130 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=30fc5131b3ad5b854f34755c92a970f4bdf9cd7c;p=sysdb.git store: Apply iterator expressions to the iterated objects. --- diff --git a/src/core/store_expr.c b/src/core/store_expr.c index 11370bb..ddaeccd 100644 --- a/src/core/store_expr.c +++ b/src/core/store_expr.c @@ -411,7 +411,7 @@ sdb_store_expr_iter_get_next(sdb_store_expr_iter_t *iter) && (! sdb_store_matcher_matches(iter->filter, child, NULL))) continue; - if (sdb_store_expr_eval(iter->expr, iter->obj, &ret, iter->filter)) + if (sdb_store_expr_eval(iter->expr, child, &ret, iter->filter)) return null; break; }