pkg: when walking a list, get eflags from pkg_traverse() call
parent
fef7558c92
commit
9c335f161a
2
pkg.c
2
pkg.c
|
@ -602,7 +602,7 @@ pkg_walk_list(pkg_dependency_t *deplist,
|
||||||
if (eflags != PKG_ERRF_OK)
|
if (eflags != PKG_ERRF_OK)
|
||||||
return pkg_report_graph_error(pkgdep, node, eflags);
|
return pkg_report_graph_error(pkgdep, node, eflags);
|
||||||
|
|
||||||
pkg_traverse(pkgdep, func, data, depth - 1, flags);
|
eflags = pkg_traverse(pkgdep, func, data, depth - 1, flags);
|
||||||
|
|
||||||
pkg_free(pkgdep);
|
pkg_free(pkgdep);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue