From 9c335f161a1dd9a46d6cd4853ea238c2210ba21c Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 11 May 2012 20:59:35 -0500 Subject: [PATCH] pkg: when walking a list, get eflags from pkg_traverse() call --- pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg.c b/pkg.c index c03256e..0890652 100644 --- a/pkg.c +++ b/pkg.c @@ -602,7 +602,7 @@ pkg_walk_list(pkg_dependency_t *deplist, if (eflags != PKG_ERRF_OK) 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); }