X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Faction_show_instance.c;h=b67e8b0840900a72afae381df866366a209169ae;hb=e0b8e6b3289ee56fba4dbee099f8fd25d5028639;hp=1fdef2f844e9f4d71f409c3a29b2f2e7bc017d20;hpb=d83e6c673306f01581e3e7a3f8c48b2b8c29ad9a;p=collection4.git diff --git a/src/action_show_instance.c b/src/action_show_instance.c index 1fdef2f..b67e8b0 100644 --- a/src/action_show_instance.c +++ b/src/action_show_instance.c @@ -136,8 +136,12 @@ static int show_time_selector (__attribute__((unused)) void *user_data) /* {{{ * " \n" " \n" " \n" - " \n" - " \n"); + "
\n"); + printf (" " + "
\n" + " " + "\n
"); + printf (" \n"); printf ("\n"); @@ -305,7 +309,7 @@ static int show_instance_rrdtool (graph_config_t *cfg, /* {{{ */ script_name (), params, title, descr); #if 0 - printf ("
" + printf ("
" "Get graph data as JSON
\n", script_name (), params, time_params); #endif @@ -381,7 +385,7 @@ int action_show_instance (void) /* {{{ */ char tmp[128]; char title[128]; - char *format; + const char *format; memset (&pg_data, 0, sizeof (pg_data)); pg_data.cfg = gl_graph_get_selected ();