diff options
author | Ailin Nemui <ailin@linux.site> | 2015-02-17 09:46:52 +0100 |
---|---|---|
committer | Ailin Nemui <ailin@linux.site> | 2015-02-17 09:50:55 +0100 |
commit | fef25d6a35d23f885937b087ed7642b327279df5 (patch) | |
tree | d7f7d7070940f5a26b1798376668edb5cc347293 /src/fe-text/mainwindows-layout.c | |
parent | 1e4f7e63249b0300cac27e725e14a0134260a387 (diff) | |
download | irssi-fef25d6a35d23f885937b087ed7642b327279df5.zip |
Make the config parser more robust
We add some additional checks into the config parser's
node_section_index, node_traverse and node_set_str functions. In
particular, we check if the requested node is of scalar or complex type
and whether this matches the value found in the config. If it does not
match, then a warning is issued appropriately and the config is
corrected.
Diffstat (limited to 'src/fe-text/mainwindows-layout.c')
0 files changed, 0 insertions, 0 deletions