diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-19 14:41:02 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-21 17:55:55 +0200 |
commit | 7e4f995692eb71fb8825cbbb2f45aad630b3cd80 (patch) | |
tree | 0c78d770498df40a59dad8d76ba0140ed998afcd /src/apoint.c | |
parent | c875ab4195de6bdfe23b99256d9638cde3b4fd1f (diff) | |
download | calcurse-7e4f995692eb71fb8825cbbb2f45aad630b3cd80.tar.gz calcurse-7e4f995692eb71fb8825cbbb2f45aad630b3cd80.zip |
Refactor conf_parse_bool()
* Increase size argument for strncmp() comparisons by one to include the
terminating null-character (otherwise "yesfoo" would be parsed as
"yes", "nobar" as "no").
* Pass destination address as an additional argument and return
success/failure status to allow for better error handling.
* Temporarily remove error handling (will be fixed later).
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/apoint.c')
0 files changed, 0 insertions, 0 deletions