diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-01-15 16:57:00 +0000 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-01-15 16:57:03 +0000 |
commit | 5dd514af93675602cdece2b7b2112989b87d5d51 (patch) | |
tree | 3f175638fa5c62364627df97aa8a1035c0fa8154 /src/heap.c | |
parent | 27d96df99900c5a62ab0fdf2a37565e78f256d6a (diff) |
conf: fix loading of default values
previously, default values were stored once into a static struct,
then on each reload item by item copied manually into a "new"
config struct.
this has proven to be errorprone, as additions in one of the 2
locations were not propagated to the second one, apart from
being simply a lot of gratuitous code.
we now simply load the default values directly into the config
struct to be used on each reload.
closes #283
Diffstat (limited to 'src/heap.c')
0 files changed, 0 insertions, 0 deletions