projects
/
rrdd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed12e1
)
src/rrdd.c: Actually pass the values to rrd_update_r.
author
Florian Forster
<octo@leeloo.home.verplant.org>
Sat, 21 Jun 2008 16:35:17 +0000
(18:35 +0200)
committer
Florian Forster
<octo@leeloo.home.verplant.org>
Sat, 21 Jun 2008 16:35:17 +0000
(18:35 +0200)
src/rrdd.c
patch
|
blob
|
history
diff --git
a/src/rrdd.c
b/src/rrdd.c
index
23f4328
..
8aa5a58
100644
(file)
--- a/
src/rrdd.c
+++ b/
src/rrdd.c
@@
-122,6
+122,7
@@
static void *queue_thread_main (void *args) /* {{{ */
char *file;
char **values;
int values_num;
+ int status;
int i;
if (cache_queue_head == NULL)
@@
-159,6
+160,14
@@
static void *queue_thread_main (void *args) /* {{{ */
RRDD_LOG (LOG_DEBUG, "queue_thread_main: rrd_update (%s, %i, %p)",
file, values_num, (void *) values);
+ status = rrd_update_r (file, NULL, values_num, values);
+ if (status != 0)
+ {
+ RRDD_LOG (LOG_ERR, "queue_thread_main: "
+ "rrd_update_r failed with status %i.",
+ status);
+ }
+
free (file);
for (i = 0; i < values_num; i++)
free (values[i]);