idnode: allow NOSAVE options to be "loaded".
This is needed since this routine is used to also load config on creation. So if a NOSAVE option is included there it will not load it. If it really is NOSAVE it shouldn't be in the config files anyway (due to NOSAVE check on actual save).
This commit is contained in:
parent
f720eb35e2
commit
3fdac50ad4
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ int idnode_write0 (idnode_t *self, htsmsg_t *m, int optmask, int dosave);
|
|||
|
||||
#define idclass_serialize(idc) idclass_serialize0(idc, 0)
|
||||
#define idnode_serialize(in) idnode_serialize0(in, 0)
|
||||
#define idnode_load(in, m) idnode_write0(in, m, PO_NOSAVE, 0)
|
||||
#define idnode_load(in, m) idnode_write0(in, m, 0, 0)
|
||||
#define idnode_save(in, m) idnode_read0(in, m, PO_NOSAVE)
|
||||
#define idnode_update(in, m) idnode_write0(in, m, PO_RDONLY | PO_WRONCE, 1)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue