From b65bf73374073ef95edb6b0f55db28f989740921 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 11 Feb 2021 10:32:18 +0100 Subject: [PATCH] fix --- sink/sink20169.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sink/sink20169.c b/sink/sink20169.c index 1a0854e..f8cd57b 100644 --- a/sink/sink20169.c +++ b/sink/sink20169.c @@ -274,7 +274,9 @@ int forwardMinuteBuffer(t_forwarderHandle *handle, t_minuteBuffer *buf) { char payload[256]; int res = snprintf(payload, sizeof(payload), - "%s,valid=1,location=%s,host=%s freq=%d.%03d %llu", + "%s,valid=1,location=%s,host=%s freq=%d.%03d" + "" %llu" + "", handle->influxMeasurement, location, buf->s.deviceId, frequency_before_point, frequency_behind_point, buf->s.events[j].timestamp);