path-lookup: clean up user_config_home() and user_runtime_dir()
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Feb 2016 19:41:54 +0000 (20:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2016 11:43:31 +0000 (13:43 +0200)
commit205dd21eccf6332fdb57f2d2ad9df70ab2c30cb1
treeffb4dde90b649b457fb5da141abf4d2477dfcacb
parent7f8a0d7b416f893b3a2a1eefbe6aa8da9ea02117
path-lookup: clean up user_config_home() and user_runtime_dir()

Let's modernize these calls a bit.

Also, don't call them from user_dirs() anymore, as we already have both dirs in
the list a second time via the persistent_config and runtime_config function
parameters.
src/shared/path-lookup.c