X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbarometer.c;h=f698005cac4413e2be8a46ed7802daccb70ce596;hb=ba1015262cdc912f9d01ab5a76037e65033c54c5;hp=29837790545c237db675b96d43ad8b4bc1f6720e;hpb=79963d13c1884d1d92667cc502ad20758b084a12;p=collectd.git diff --git a/src/barometer.c b/src/barometer.c index 29837790..f698005c 100644 --- a/src/barometer.c +++ b/src/barometer.c @@ -1416,7 +1416,6 @@ static int MPL115_collectd_barometer_read(void) { norm_pressure = abs_to_mean_sea_level_pressure(pressure); - sstrncpy(vl.host, hostname_g, sizeof(vl.host)); sstrncpy(vl.plugin, "barometer", sizeof(vl.plugin)); sstrncpy(vl.plugin_instance, "mpl115", sizeof(vl.plugin_instance)); @@ -1476,7 +1475,6 @@ static int MPL3115_collectd_barometer_read(void) { norm_pressure = abs_to_mean_sea_level_pressure(pressure); - sstrncpy(vl.host, hostname_g, sizeof(vl.host)); sstrncpy(vl.plugin, "barometer", sizeof(vl.plugin)); sstrncpy(vl.plugin_instance, "mpl3115", sizeof(vl.plugin_instance)); @@ -1536,7 +1534,6 @@ static int BMP085_collectd_barometer_read(void) { norm_pressure = abs_to_mean_sea_level_pressure(pressure); - sstrncpy(vl.host, hostname_g, sizeof(vl.host)); sstrncpy(vl.plugin, "barometer", sizeof(vl.plugin)); sstrncpy(vl.plugin_instance, "bmp085", sizeof(vl.plugin_instance));