X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Faction_list_graphs_json.c;h=fa359499f002f17d859247df7fe94f568d1b3282;hb=HEAD;hp=f8485cece2b60c9162fbe287dd47b2d1d78416f4;hpb=a7babc69db47718d5e0cc1af48bafaf8eea7c3d1;p=collection4.git diff --git a/src/action_list_graphs_json.c b/src/action_list_graphs_json.c index f8485ce..fa35949 100644 --- a/src/action_list_graphs_json.c +++ b/src/action_list_graphs_json.c @@ -74,8 +74,8 @@ static int print_one_graph (graph_config_t *cfg, /* {{{ */ (unsigned int) strlen (title)); yajl_gen_string (handler, - (unsigned char *) "selector", - (unsigned int) strlen ("selector")); + (unsigned char *) "select", + (unsigned int) strlen ("select")); ident_to_json (selector, handler); yajl_gen_string (handler, @@ -112,8 +112,6 @@ static int print_all_graphs (yajl_gen handler) /* {{{ */ int action_list_graphs_json (void) /* {{{ */ { - graph_config_t *cfg; - yajl_gen_config handler_config; yajl_gen handler;