diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-01-09 05:19:43 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-01-09 05:19:43 +0100 |
commit | f90cc1e5a2dc92cb1855186bce163acc25853ec6 (patch) | |
tree | 3d48263705a9a73f71807bdf09ebaf220db36626 | |
parent | bc7e83137ed2a14957e1b3feb5de658f8505ed57 (diff) | |
download | liberty-f90cc1e5a2dc92cb1855186bce163acc25853ec6.tar.gz liberty-f90cc1e5a2dc92cb1855186bce163acc25853ec6.tar.xz liberty-f90cc1e5a2dc92cb1855186bce163acc25853ec6.zip |
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.
-rw-r--r-- | liberty.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |