X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbarometer.c;h=53c55b844247b2e19d091fd270501fd5ec025e16;hb=c76419c0cf983f1ecd3d36aa236cc4e3f9cff733;hp=998932daa826c308f95ce50fcb8c6958820ac527;hpb=d061c270fabc5dba961cf2b94ebe968e9a89b899;p=collectd.git diff --git a/src/barometer.c b/src/barometer.c index 998932da..53c55b84 100644 --- a/src/barometer.c +++ b/src/barometer.c @@ -1600,7 +1600,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)); @@ -1663,7 +1662,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)); @@ -1726,7 +1724,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));