Do not overwrite eflags with walking though a long list of packages

feature/tap-sh
Baptiste Daroussin 2013-03-17 23:45:51 +01:00
parent 1178ab257d
commit 24207bd1d6
1 changed files with 1 additions and 1 deletions

2
pkg.c
View File

@ -890,7 +890,7 @@ pkg_walk_list(pkg_t *parent,
} }
pkgdep->flags |= PKG_PROPF_SEEN; pkgdep->flags |= PKG_PROPF_SEEN;
eflags = pkg_traverse(pkgdep, func, data, depth - 1, flags); eflags |= pkg_traverse(pkgdep, func, data, depth - 1, flags);
pkgdep->flags &= ~PKG_PROPF_SEEN; pkgdep->flags &= ~PKG_PROPF_SEEN;
pkg_unref(pkgdep); pkg_unref(pkgdep);
} }