projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4f4f0b
)
interface: minor fix for unnecessary ++ operation.
author
Yousong Zhou
<yszhou4tech@gmail.com>
Tue, 19 May 2015 12:38:31 +0000
(20:38 +0800)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 23 May 2015 14:44:46 +0000
(16:44 +0200)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index ef70deab590224f96b710a087b79fb4b8b5561a1..a9ecf28d0e62647c6a5922bdcca6f2cf480d1a22 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);