summaryrefslogtreecommitdiffhomepage
path: root/utils.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-19 22:36:43 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-03-19 22:36:47 +0100
commit655ef783b1d5f72af3acccc87455c365fea4ad42 (patch)
tree1f8c26f023a5728a7ccf50c48122164b00c2c5e9 /utils.h
parent75baeca6f817b161f522a9961bfe5c3718397189 (diff)
fix vlist_simple_add version handling
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 3918cac..5ea9c6f 100644
--- a/utils.h
+++ b/utils.h
@@ -93,6 +93,7 @@ static inline void vlist_simple_update(struct vlist_simple_tree *tree)
static inline void vlist_simple_add(struct vlist_simple_tree *tree, struct vlist_simple_node *node)
{
+ node->version = tree->version;
list_add(&node->list, &tree->list);
}