X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Femail.c;h=1027eb90ad1fed60e77219fa8b71dc399ab315e7;hb=c76419c0cf983f1ecd3d36aa236cc4e3f9cff733;hp=97fbdfe6f634aa7efefb7ebf157fe1757f6e60b5;hpb=e14e8b7f5c5bf9d0fe5cc632c6383f304d4ac2ad;p=collectd.git diff --git a/src/email.c b/src/email.c index 97fbdfe6..1027eb90 100644 --- a/src/email.c +++ b/src/email.c @@ -657,7 +657,6 @@ static void email_submit (const char *type, const char *type_instance, gauge_t v vl.values = &(value_t) { .gauge = value }; vl.values_len = 1; - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "email", sizeof (vl.plugin)); sstrncpy (vl.type, type, sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));