From f90cc1e5a2dc92cb1855186bce163acc25853ec6 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sat, 9 Jan 2016 05:19:43 +0100 Subject: Copy user_data in config_item_set_from So that the validation callback can make use of it. This is analogous to the change in schema application. --- liberty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/liberty.c b/liberty.c index fece828..0ccdb3b 100644 --- a/liberty.c +++ b/liberty.c @@ -4421,6 +4421,7 @@ config_item_set_from (struct config_item *self, struct config_item *source, return true; } + source->user_data = self->user_data; if (!config_item_validate_by_schema (source, schema, e)) return false; -- cgit v1.2.3-70-g09d2