diff options
author | 2020-01-02 12:54:22 +0100 | |
---|---|---|
committer | 2020-01-02 12:54:22 +0100 | |
commit | 91c71f0ddcdca7991f35621c629fa06a348d4a00 (patch) | |
tree | ea9d2ccd2d2f2abc804a40e9138985fd8cf44632 /qkeyword.c | |
parent | libq/tree: activate atom query (diff) | |
download | portage-utils-91c71f0ddcdca7991f35621c629fa06a348d4a00.tar.gz portage-utils-91c71f0ddcdca7991f35621c629fa06a348d4a00.tar.bz2 portage-utils-91c71f0ddcdca7991f35621c629fa06a348d4a00.zip |
qkeyword: pass atom restriction (-p/-c) down to tree_foreach_pkg
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qkeyword.c')
-rw-r--r-- | qkeyword.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -799,7 +799,8 @@ qkeyword_traverse(tree_pkg_cb func, void *priv) array_for_each(overlays, n, overlay) { tree_ctx *t = tree_open(portroot, overlay); if (t != NULL) { - ret |= tree_foreach_pkg_sorted(t, qkeyword_results_cb, priv, NULL); + ret |= tree_foreach_pkg_sorted(t, + qkeyword_results_cb, priv, data->qatom); tree_close(t); } } |