From 17be554a212c1f485b25fc2f34886136a5b92a6b Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 22 Jan 2017 11:23:24 +0100 Subject: [PATCH] Revert "Fix regression introduced in 7b39c38" This reverts commit 7d89f659ffa45d381c3c4ee03c55f74635042829. --- libpkgconf/pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c index 3f5ca2d..c2fa160 100644 --- a/libpkgconf/pkg.c +++ b/libpkgconf/pkg.c @@ -1341,7 +1341,7 @@ pkgconf_pkg_traverse(pkgconf_client_t *client, if (maxdepth == 0) return eflags; - if ((root->flags & PKGCONF_PKG_PROPF_VIRTUAL) != PKGCONF_PKG_PROPF_VIRTUAL || (client->flags & ~PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL) != PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL) + if ((root->flags & PKGCONF_PKG_PROPF_VIRTUAL) != PKGCONF_PKG_PROPF_VIRTUAL || (client->flags & PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL) != PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL) { if (func != NULL) func(client, root, data);