Skip to content
Snippets Groups Projects
Commit e19e1b7e authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

read state directly

parent 796b7f9a
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ static void issupervised(char *store, resolve_service_t *ares, unsigned int ares ...@@ -51,7 +51,7 @@ static void issupervised(char *store, resolve_service_t *ares, unsigned int ares
if (!state_read(&ste, &ares[aresid])) if (!state_read(&ste, &ares[aresid]))
continue ; 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, " ") ; auto_strings(store + strlen(store), name, " ") ;
else else
continue ; continue ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment