From e19e1b7e649c1f5f09fbc65b0c49d1600f0db349 Mon Sep 17 00:00:00 2001 From: obarun <eric@obarun.org> Date: Sat, 15 Jul 2023 13:19:31 +1100 Subject: [PATCH] read state directly --- src/lib66/service/service_graph_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib66/service/service_graph_build.c b/src/lib66/service/service_graph_build.c index 0b823dda..f2f2c3da 100644 --- a/src/lib66/service/service_graph_build.c +++ b/src/lib66/service/service_graph_build.c @@ -51,7 +51,7 @@ static void issupervised(char *store, resolve_service_t *ares, unsigned int ares if (!state_read(&ste, &ares[aresid])) continue ; - if (service_is(&ste, STATE_FLAGS_ISSUPERVISED) == STATE_FLAGS_TRUE) + if ((&ste, STATE_FLAGS_ISSUPERVISED) == STATE_FLAGS_TRUE) auto_strings(store + strlen(store), name, " ") ; else continue ; -- GitLab