From f32f732a6d0a2593e10288385afa079acc0ae0e9 Mon Sep 17 00:00:00 2001 From: obarun <eric@obarun.org> Date: Sun, 27 Nov 2022 16:56:58 +1100 Subject: [PATCH] adapt to graph function interface --- src/lib66/info/info_walk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib66/info/info_walk.c b/src/lib66/info/info_walk.c index 7753eaa4..b5fd1a8e 100644 --- a/src/lib66/info/info_walk.c +++ b/src/lib66/info/info_walk.c @@ -44,7 +44,7 @@ int info_walk(graph_t *g, char const *name, char const *obj, info_graph_func *fu } else { - count = graph_matrix_get_edge_g_sorted_sa(&sa, g, name, requiredby) ; + count = graph_matrix_get_edge_g_sorted_sa(&sa, g, name, requiredby, 0) ; if (count == -1) { stralloc_free(&sa) ; @@ -73,7 +73,7 @@ int info_walk(graph_t *g, char const *name, char const *obj, info_graph_func *fu if (!info_graph_display(name, obj, func, depth, last, padding, style)) goto err ; - if (graph_matrix_get_edge_g_sorted_sa(&sa, g, name, requiredby) == -1) + if (graph_matrix_get_edge_g_sorted_sa(&sa, g, name, requiredby, 0) == -1) goto err ; if (sa.len) -- GitLab