This commit is contained in:
Wolfgang Hottgenroth 2021-02-11 10:32:18 +01:00
parent 79ee5014eb
commit b65bf73374
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -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);