Revert "Fix regression introduced in 7b39c38"

This reverts commit 7d89f659ff.
feature/tap-sh
Baptiste Daroussin 2017-01-22 11:23:24 +01:00
parent 7d89f659ff
commit 17be554a21
1 changed files with 1 additions and 1 deletions

View File

@ -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);