X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdrbd.c;h=2ee16567a6f0f2e2ba6a8d9250049222db4583f3;hb=4962291342f14fecbc6bb0240bd8ec7c76e2fc64;hp=1daa25fad794f6448963041987cf73a9c13dddd3;hpb=79963d13c1884d1d92667cc502ad20758b084a12;p=collectd.git diff --git a/src/drbd.c b/src/drbd.c index 1daa25fa..2ee16567 100644 --- a/src/drbd.c +++ b/src/drbd.c @@ -91,7 +91,6 @@ static int drbd_submit_fields(long int resource, char **fields, } vl.values_len = 1; - sstrncpy(vl.host, hostname_g, sizeof(vl.host)); sstrncpy(vl.plugin, "drbd", sizeof(vl.plugin)); sstrncpy(vl.plugin_instance, plugin_instance, sizeof(vl.plugin_instance)); sstrncpy(vl.type, "drbd_resource", sizeof(vl.type));