projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
202f278
)
src/graph_ident.c: ident_data_to_json: Include the file name.
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
cce580a
..
d16cb5b
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"));