From: Florian Forster Date: Fri, 9 Feb 2007 21:40:15 +0000 (+0100) Subject: traffic pluxin: Remove unnecessary `strcpy'. X-Git-Tag: collectd-4.0.0~198 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=72d61ac299b260918de0822691654558ffd4ca97;p=collectd.git traffic pluxin: Remove unnecessary `strcpy'. --- diff --git a/src/traffic.c b/src/traffic.c index e08dc148..5fc55d75 100644 --- a/src/traffic.c +++ b/src/traffic.c @@ -234,7 +234,6 @@ static void if_submit (const char *dev, const char *type, vl.time = time (NULL); strcpy (vl.host, hostname); strcpy (vl.plugin, "interface"); - strcpy (vl.plugin_instance, ""); strncpy (vl.type_instance, dev, sizeof (vl.type_instance)); plugin_dispatch_values (type, &vl);