pkg: when walking a list, get eflags from pkg_traverse() call

pull/29/head
William Pitcock 2012-05-11 20:59:35 -05:00
parent fef7558c92
commit 9c335f161a
1 changed files with 1 additions and 1 deletions

2
pkg.c
View File

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