summaryrefslogtreecommitdiffstats
path: root/src/keys.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-19 14:41:02 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-21 17:55:55 +0200
commit7e4f995692eb71fb8825cbbb2f45aad630b3cd80 (patch)
tree0c78d770498df40a59dad8d76ba0140ed998afcd /src/keys.c
parentc875ab4195de6bdfe23b99256d9638cde3b4fd1f (diff)
downloadcalcurse-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/keys.c')
0 files changed, 0 insertions, 0 deletions