summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 202f278)
raw | patch | inline | side by side (parent: 202f278)
author | Florian Forster <octo@verplant.org> | |
Fri, 10 Sep 2010 12:30:28 +0000 (14:30 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Fri, 10 Sep 2010 12:30:28 +0000 (14:30 +0200) |
src/graph_ident.c | patch | blob | history |
diff --git a/src/graph_ident.c b/src/graph_ident.c
index cce580a4d6a09be4bcdc30ab3022635702882c84..d16cb5b427e95bc5107c5d036759f004c11d54f9 100644 (file)
--- 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"));