Name |
Last commit
|
Last update |
---|---|---|
.. | ||
add.c | ||
config_helpers.c | ||
config_helpers.h | ||
configlevel.c | ||
multivar.c | ||
new.c | ||
read.c | ||
refresh.c | ||
stress.c | ||
write.c |
Returning NULL for the string when we haven't signaled an error condition is counter-intuitive and causes unnecessary edge cases. Return an empty string when asking for a string value for a configuration variable such as '[section] var' to avoid these edge cases. If the distinction between no value and an empty value is needed, this can be retrieved from the entry directly. As a side-effect, this change stops the int parsing functions from segfaulting on such a variable.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
add.c | Loading commit data... | |
config_helpers.c | Loading commit data... | |
config_helpers.h | Loading commit data... | |
configlevel.c | Loading commit data... | |
multivar.c | Loading commit data... | |
new.c | Loading commit data... | |
read.c | Loading commit data... | |
refresh.c | Loading commit data... | |
stress.c | Loading commit data... | |
write.c | Loading commit data... |