config-parser: Handle lines that don't end in \n
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 4 Aug 2012 01:56:41 +0000 (21:56 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 4 Aug 2012 01:56:41 +0000 (21:56 -0400)
commit3d89049546d98a33da41dc43d7b360dffe2c2fb0
tree6666f044bc7331fc26739380419e97912f448cca
parent248aaecda24ee4d2826d79a510176d2c634d8ac6
config-parser: Handle lines that don't end in \n

If the last line in a config file doesn't have a newline
we end up chopping off the last character from that line.
shared/config-parser.c