chiark / gitweb /
conf-parse: small prettification
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Feb 2018 19:50:22 +0000 (20:50 +0100)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commitbf8743c89f67bd0c6016d41ac92ee70e962b74ff
tree45beeab9018ddd5b042902a3fe2ea588e3f42999
parent3b387a06cf8205c9938a1000ca8a14b98116502c
conf-parse: small prettification

Let's use first_word() instead of startswith(), it's more explanatory
and a bit more correct. Also, let's use the return value instead of
adding +9 when looking for the second part of the directive.
src/shared/conf-parser.c