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

bye bye blink blink

parent 1680cf46
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ static void info_display_current(char const *field,char const *treename) ...@@ -95,7 +95,7 @@ static void info_display_current(char const *field,char const *treename)
log_dieu(LOG_EXIT_ZERO, "read resolve file of: ", treename) ; log_dieu(LOG_EXIT_ZERO, "read resolve file of: ", treename) ;
if (NOFIELD) info_display_field_name(field) ; if (NOFIELD) info_display_field_name(field) ;
if (!bprintf(buffer_1,"%s%s%s", current ? log_color->blink : log_color->warning, current ? "yes":"no",log_color->off)) if (!bprintf(buffer_1,"%s%s%s", current ? log_color->valid : log_color->warning, current ? "yes":"no",log_color->off))
log_dieusys(LOG_EXIT_SYS,"write to stdout") ; log_dieusys(LOG_EXIT_SYS,"write to stdout") ;
if (buffer_putsflush(buffer_1,"\n") == -1) if (buffer_putsflush(buffer_1,"\n") == -1)
...@@ -355,8 +355,8 @@ static void info_display_contents(char const *field, char const *treename) ...@@ -355,8 +355,8 @@ static void info_display_contents(char const *field, char const *treename)
graph_build_service(&graph, ares, &areslen, pinfo, STATE_FLAGS_TOPROPAGATE|STATE_FLAGS_WANTUP) ; graph_build_service(&graph, ares, &areslen, pinfo, STATE_FLAGS_TOPROPAGATE|STATE_FLAGS_WANTUP) ;
if (!graph.mlen) if (!areslen)
log_die(LOG_EXIT_USER, "services selection is not available -- please make a bug report") ; goto empty ;
if (GRAPH) { if (GRAPH) {
......
...@@ -103,7 +103,7 @@ int info_graph_display_service(char const *name) ...@@ -103,7 +103,7 @@ int info_graph_display_service(char const *name)
"type=", log_color->blue, get_key_by_enum(ENUM_TYPE,res.type), log_color->off, \ "type=", log_color->blue, get_key_by_enum(ENUM_TYPE,res.type), log_color->off, \
"intree=", BMAGENTA, res.sa.s + res.treename, log_color->off )) "tree=", BMAGENTA, res.sa.s + res.treename, log_color->off ))
goto freed ; goto freed ;
err = 1 ; err = 1 ;
......
...@@ -50,7 +50,7 @@ int info_graph_display_tree(char const *name) ...@@ -50,7 +50,7 @@ int info_graph_display_tree(char const *name)
auto_strings(base, sa.s) ; auto_strings(base, sa.s) ;
if (tree_isvalid(sa.s, name) <= 0) { if (tree_isvalid(sa.s, name) <= 0) {
log_warn("invalide tree: ", name) ; log_warn("invalid tree: ", name) ;
goto freed ; goto freed ;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment