commit:     5814aa774f60baef3f6dc3286d5b582f90cac03d
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 11 17:55:05 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 17:55:05 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=5814aa77

qcheck: fix atom_compare call

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 qcheck.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qcheck.c b/qcheck.c
index a26b25d..efbb191 100644
--- a/qcheck.c
+++ b/qcheck.c
@@ -369,7 +369,7 @@ qcheck_cb(tree_pkg_ctx *pkg_ctx, void *priv)
 
                qatom = tree_get_atom(pkg_ctx, false);
                array_for_each(state->atoms, i, atom) {
-                       if (atom_compare(atom, qatom) == EQUAL) {
+                       if (atom_compare(qatom, atom) == EQUAL) {
                                showit = true;
                                break;
                        }

Reply via email to