projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4566cb8
)
traffic pluxin: Remove unnecessary `strcpy'.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 9 Feb 2007 21:40:15 +0000
(22:40 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 9 Feb 2007 21:40:15 +0000
(22:40 +0100)
src/traffic.c
patch
|
blob
|
history
diff --git
a/src/traffic.c
b/src/traffic.c
index
e08dc14
..
5fc55d7
100644
(file)
--- 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);