fix
This commit is contained in:
parent
778e288cb7
commit
97a8968147
@ -274,7 +274,9 @@ int forwardMinuteBuffer(t_forwarderHandle *handle, t_minuteBuffer *buf) {
|
|||||||
|
|
||||||
char payload[256];
|
char payload[256];
|
||||||
int res = snprintf(payload, sizeof(payload),
|
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,
|
handle->influxMeasurement, location, buf->s.deviceId,
|
||||||
frequency_before_point, frequency_behind_point,
|
frequency_before_point, frequency_behind_point,
|
||||||
buf->s.events[j].timestamp);
|
buf->s.events[j].timestamp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user