Signed-off-by: Yousong Zhou <yszhou4t...@gmail.com> --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interface.c b/interface.c index 9f6d8f0..997a721 100644 --- 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); -- 1.7.10.4 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel