traffic pluxin: Remove unnecessary `strcpy'.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 9 Feb 2007 21:40:15 +0000 (22:40 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 9 Feb 2007 21:40:15 +0000 (22:40 +0100)
src/traffic.c

index e08dc14..5fc55d7 100644 (file)
@@ -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);