From: Florian Forster Date: Fri, 10 Sep 2010 12:30:28 +0000 (+0200) Subject: src/graph_ident.c: ident_data_to_json: Include the file name. X-Git-Tag: v4.0.0~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=66522621f31491eb4ad6ec07d048af402a635678;p=collection4.git src/graph_ident.c: ident_data_to_json: Include the file name. --- diff --git a/src/graph_ident.c b/src/graph_ident.c index cce580a..d16cb5b 100644 --- a/src/graph_ident.c +++ b/src/graph_ident.c @@ -588,7 +588,10 @@ static int ident_data_to_json__get_ds_name (const graph_ident_t *ident, /* {{{ * yajl_gen_map_open (data->handler); - yajl_gen_string_cast (data->handler, "ds_name", strlen ("ds_name")); + yajl_gen_string_cast (data->handler, "file", strlen ("file")); + ident_to_json (ident, data->handler); + + yajl_gen_string_cast (data->handler, "data_source", strlen ("data_source")); yajl_gen_string_cast (data->handler, ds_name, strlen (ds_name)); yajl_gen_string_cast (data->handler, "data", strlen ("data"));