Code

src/graph_ident.c: Remove an unnecessary pair of brackets.
authorFlorian Forster <octo@verplant.org>
Fri, 10 Sep 2010 08:29:08 +0000 (10:29 +0200)
committerFlorian Forster <octo@verplant.org>
Fri, 10 Sep 2010 08:29:08 +0000 (10:29 +0200)
src/graph_ident.c

index 9c8bc6e2ed6e6be999e051a22fc069a1df152d99..cce580a4d6a09be4bcdc30ab3022635702882c84 100644 (file)
@@ -592,14 +592,11 @@ static int ident_data_to_json__get_ds_name (const graph_ident_t *ident, /* {{{ *
   yajl_gen_string_cast (data->handler, ds_name, strlen (ds_name));
 
   yajl_gen_string_cast (data->handler, "data", strlen ("data"));
-  yajl_gen_array_open (data->handler);
-
   status = data_provider_get_ident_data (ident, ds_name,
       data->begin, data->end,
       ident_data_to_json__get_ident_data,
       data);
 
-  yajl_gen_array_close (data->handler);
   yajl_gen_map_close (data->handler);
 
   return (status);