projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
interface: minor fix for unnecessary ++ operation.
[project/netifd.git]
/
interface.c
diff --git
a/interface.c
b/interface.c
index
ef70dea
..
a9ecf28
100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-139,7
+139,7
@@
void interface_add_error(struct interface *iface, const char *subsystem,
memcpy(dest, data[i], datalen[i]);
dest += datalen[i];
}
- error->data[n_data
++
] = NULL;
+ error->data[n_data] = NULL;
if (subsystem)
error->subsystem = strcpy(d_subsys, subsystem);