summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rrd-update.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rrd-update.c b/src/rrd-update.c
index e60d6e2..b4be997 100644
--- a/src/rrd-update.c
+++ b/src/rrd-update.c
@@ -82,8 +82,10 @@ void rb_rrd_update(rb_poller *poll)
return;
}
- /* Build our arguments */
- strlcpy(items, "N:", ilen);
+ /* Put in the right time */
+ snprintf(items, ilen, "%lld:", (poll->last_polled / 1000L));
+
+ /* Build the rest of the arguments */
for(it = poll->items; it; it = it->next)
{
if(it != poll->items)