From: Florian Forster Date: Sat, 21 Jun 2008 13:43:46 +0000 (+0200) Subject: src/librrdc.c: Send the `command' ("update" right now) to the daemon, too. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=884e71de19074f046632dce4403ebfb6843af9f5;p=rrdd.git src/librrdc.c: Send the `command' ("update" right now) to the daemon, too. --- diff --git a/src/librrdc.c b/src/librrdc.c index 8b168d6..25d0afa 100644 --- 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);