summaryrefslogtreecommitdiff
path: root/src/dmon.c%252525253fid%252525253d1355bad2644230b9760e62333dc4a7b72c5fb1a9%252525...
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/dmon.c%252525253fid%252525253d1355bad2644230b9760e62333dc4a7b72c5fb1a9%2525253fid%2525253d1355bad2644230b9760e62333dc4a7b72c5fb1a9%25253fid%25253de5dee68dcf318b58a3339250ae63fa5f26cdf790%253fid%253de5dee68dcf318b58a3339250ae63fa5f26cdf790%3fid%3d7e4f995692eb71fb8825cbbb2f45aad630b3cd80?id=7e4f995692eb71fb8825cbbb2f45aad630b3cd80
parentc875ab4195de6bdfe23b99256d9638cde3b4fd1f (diff)
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/dmon.c%252525253fid%252525253d1355bad2644230b9760e62333dc4a7b72c5fb1a9%2525253fid%2525253d1355bad2644230b9760e62333dc4a7b72c5fb1a9%25253fid%25253de5dee68dcf318b58a3339250ae63fa5f26cdf790%253fid%253de5dee68dcf318b58a3339250ae63fa5f26cdf790%3fid%3d7e4f995692eb71fb8825cbbb2f45aad630b3cd80?id=7e4f995692eb71fb8825cbbb2f45aad630b3cd80')
0 files changed, 0 insertions, 0 deletions