The error was not propagated if _write_config (that is part of
dm_config_write_node and all its variants) was called recursively
for subsections.
Version 1.02.119 -
=====================================
+ Fix dm_config_write_node and variants to return error on subsection failures.
Remove 4096 char limit due to buffer size if writing dm_config_node.
Version 1.02.118 - 26th February 2016
line_append(" {");
if (!_line_end(n, out))
return_0;
- _write_config(n->child, 0, out, level + 1);
+ if (!_write_config(n->child, 0, out, level + 1))
+ return_0;
if (!_line_start(out))
return_0;
line_append("%s}", space);