Code

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 e08dc14819442ce348e66b383468c7661cdc13c8..5fc55d757eecf414fb2e9d232289b38822f1f450 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);