]> the.earth.li Git - onak.git/commit
Pull config line parsing out to its own function
authorJonathan McDowell <noodles@earth.li>
Tue, 7 Jun 2016 08:36:33 +0000 (09:36 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 7 Jun 2016 08:36:33 +0000 (09:36 +0100)
commit018dafe62a5fcb63626c01d8bafdc7330fc13278
tree4e06b1b5393543bc844661023a6ebc4153ac1e59
parent90e64dba702acb22eef4f6d70dc0ac885b1bedbf
Pull config line parsing out to its own function

The indentation in the config file reading function is horrible, so
pull the actual parsing of the line out to its own function simplifying
the loop to primarily be about reading each line and trimming white
space.
onak-conf.c