projects
/
rrdd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98870e
)
src/librrdc.c: Send the `command' ("update" right now) to the daemon, too.
author
Florian Forster
<octo@verplant.org>
Sat, 21 Jun 2008 13:43:46 +0000
(15:43 +0200)
committer
Florian Forster
<octo@verplant.org>
Sat, 21 Jun 2008 13:43:46 +0000
(15:43 +0200)
src/librrdc.c
patch
|
blob
|
history
diff --git
a/src/librrdc.c
b/src/librrdc.c
index
8b168d6
..
25d0afa
100644
(file)
--- a/
src/librrdc.c
+++ b/
src/librrdc.c
@@
-145,6
+145,7
@@
int rrdd_update (const char *filename, int values_num,
buffer_ptr = &buffer[0];
buffer_size = sizeof (buffer) - 1;
+ buffer_add_string ("update", &buffer_ptr, &buffer_size);
buffer_add_string (filename, &buffer_ptr, &buffer_size);
for (i = 0; i < values_num; i++)
buffer_add_value (values[i], &buffer_ptr, &buffer_size);