Add a dedicated function to parse the values of toggles
authorFabian Keil <fk@fabiankeil.de>
Fri, 8 Jul 2011 13:29:06 +0000 (13:29 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 8 Jul 2011 13:29:06 +0000 (13:29 +0000)
commit52a711ade0973fad7285a3f4fad67f0bef955595
treea8b9f1dba61ed63515c833a2bf79a2226ba05c08
parentdf84e4eef1fa09173aabc261157c6baec44c8b2d
Add a dedicated function to parse the values of toggles

Reduces duplicated code in load_config() and provides
better error handling. Invalid or missing toggle values
are now a fatal error instead of being silently ignored.
loadcfg.c