X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=action_list_graphs.c;fp=action_list_graphs.c;h=d7cea47f41f8635475c6e00bdf991e799a3fc422;hb=57811ec03166433462141458b43b1347199e0519;hp=4ec9a30948d7c9f9e87644d20b3ac3c4de9a58c1;hpb=8b5b9238a2efbc722b7c147707dc453aefe69f04;p=collection4.git diff --git a/action_list_graphs.c b/action_list_graphs.c index 4ec9a30..d7cea47 100644 --- a/action_list_graphs.c +++ b/action_list_graphs.c @@ -66,12 +66,16 @@ static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */ graph_instance_t *inst, __attribute__((unused)) void *user_data) { - char buffer[1024]; + char params[1024]; + char desc[1024]; - memset (buffer, 0, sizeof (buffer)); - inst_get_params (cfg, inst, buffer, sizeof (buffer)); + memset (params, 0, sizeof (params)); + inst_get_params (cfg, inst, params, sizeof (params)); + + memset (desc, 0, sizeof (desc)); + inst_describe (cfg, inst, desc, sizeof (desc)); - printf ("
  • %s
  • \n", buffer, buffer); + printf ("
  • %s
  • \n", params, desc); return (0); } /* }}} int print_graph_inst_html */