summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84dc0c7)
raw | patch | inline | side by side (parent: 84dc0c7)
author | Florian Forster <ff@octo.it> | |
Thu, 9 Sep 2010 07:35:35 +0000 (09:35 +0200) | ||
committer | Florian Forster <ff@octo.it> | |
Thu, 9 Sep 2010 07:35:35 +0000 (09:35 +0200) |
src/graph_ident.c | patch | blob | history |
diff --git a/src/graph_ident.c b/src/graph_ident.c
index 3635990d8feb68a59960776c81f8d4acc872ba2c..e2d3cd68c9f76c05f399b50c1099cf03289da076 100644 (file)
--- a/src/graph_ident.c
+++ b/src/graph_ident.c
}
yajl_gen_map_close (data->handler);
+
+ return (0);
} /* }}} int ident_data_to_json__get_ident_data */
/* Called for each DS name */
yajl_gen handler)
{
ident_data_to_json__data_t data;
+ int status;
data.begin = begin;
data.end = end;
data.handler = handler;
/* Iterate over all DS names */
- return (data_provider_get_ident_ds_names (ident,
- ident_data_to_json__get_ds_name, &data));
+ status = data_provider_get_ident_ds_names (ident,
+ ident_data_to_json__get_ds_name, &data);
+ if (status != 0)
+ fprintf (stderr, "ident_data_to_json: data_provider_get_ident_ds_names "
+ "failed with status %i\n", status);
+
+ return (status);
} /* }}} int ident_data_to_json */
/* }}} ident_data_to_json */