X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgps.c;h=644967b3b7ec79c2bc4e2c977138dd34086041b3;hb=a9f509bacfda6be6882527a16563f260e4373246;hp=d5b7176b44560073260bef643ea88d811ecb80f3;hpb=e14e8b7f5c5bf9d0fe5cc632c6383f304d4ac2ad;p=collectd.git diff --git a/src/gps.c b/src/gps.c index d5b7176b..644967b3 100644 --- a/src/gps.c +++ b/src/gps.c @@ -224,7 +224,6 @@ static void cgps_submit (const char *type, gauge_t value, const char *type_insta vl.values = &(value_t) { .gauge = value }; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "gps", sizeof (vl.plugin)); sstrncpy (vl.type, type, sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));