From 72d61ac299b260918de0822691654558ffd4ca97 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 9 Feb 2007 22:40:15 +0100 Subject: [PATCH] traffic pluxin: Remove unnecessary `strcpy'. --- src/traffic.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.11.0