summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ae76aa9)
raw | patch | inline | side by side (parent: ae76aa9)
author | Florian Forster <octo@verplant.org> | |
Thu, 9 Sep 2010 15:03:14 +0000 (17:03 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Thu, 9 Sep 2010 15:03:14 +0000 (17:03 +0200) |
src/graph_instance.c | patch | blob | history |
diff --git a/src/graph_instance.c b/src/graph_instance.c
index 23d88dcd8e40737f2cdee69178dbd54f47fd3db2..a834950c7517f2c63ca72356ac49fd2a9ac5bd9b 100644 (file)
--- a/src/graph_instance.c
+++ b/src/graph_instance.c
@@ -150,13 +150,20 @@ static int gl_instance_get_rrdargs_cb (graph_def_t *def, void *user_data) /* {{{
rrd_args_t *args = data->args;
size_t i;
+ int status;
for (i = 0; i < inst->files_num; i++)
{
if (!def_matches (def, inst->files[i]))
continue;
- def_get_rrdargs (def, inst->files[i], args);
+ status = def_get_rrdargs (def, inst->files[i], args);
+ if (status != 0)
+ {
+ fprintf (stderr, "gl_instance_get_rrdargs_cb: def_get_rrdargs failed with status %i\n",
+ status);
+ fflush (stderr);
+ }
}
return (0);