From 2529c3ebe7e817168ef2b0fc38fc4bfc372b8c4b Mon Sep 17 00:00:00 2001 From: obarun <eric@obarun.org> Date: Sat, 15 Jan 2022 19:57:56 +1100 Subject: [PATCH] use new graph_build_g fucntion --- src/66/66-intree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/66/66-intree.c b/src/66/66-intree.c index ada8b5b3..53a2a5c8 100644 --- a/src/66/66-intree.c +++ b/src/66/66-intree.c @@ -186,7 +186,7 @@ static void info_display_depends(char const *field, char const *treename) if (NOFIELD) padding = info_display_field_name(field) ; else { field = 0 ; padding = 0 ; } - if (!graph_build(&graph, base.s, treename, DATA_TREE)) + if (!graph_build_g(&graph, base.s, treename, DATA_TREE)) log_dieu(LOG_EXIT_SYS,"build the graph") ; r = graph_matrix_get_edge_g_sorted(&sa, &graph, treename, 0) ; @@ -247,7 +247,7 @@ static void info_display_requiredby(char const *field, char const *treename) if (NOFIELD) padding = info_display_field_name(field) ; else { field = 0 ; padding = 0 ; } - if (!graph_build(&graph, base.s, treename, DATA_TREE)) + if (!graph_build_g(&graph, base.s, treename, DATA_TREE)) log_dieu(LOG_EXIT_SYS,"build the graph") ; r = graph_matrix_get_edge_g_sorted(&sa, &graph, treename, 1) ; -- GitLab