conf-parse: small prettification
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Feb 2018 19:50:22 +0000 (20:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Mar 2018 19:04:16 +0000 (20:04 +0100)
commitbdc8e623bb59dbe26179e2cd46d6c2c1915bb5b8
treecd97280e0c705fb657a976d9d088401ff938acbd
parent41b283d0f1f4abd85d0bbeeb7f71bb30f87cfab9
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