journald: let's simplify rotating of offline user journals
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Nov 2019 15:39:18 +0000 (16:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 31 Jan 2020 14:01:05 +0000 (15:01 +0100)
commit4e00337b1621046e44e0419066bcaf3df16261a2
tree9c371d932f09b172093511afdd57d74495e34a03
parent46e2348a586b46fcc21f493d18d65f7ea43467fc
journald: let's simplify rotating of offline user journals

Let's just use the path that is already stored in JournalStorage,
instead of generating our own. While we are at it, split out the loop
into its own function.
src/journal/journald-server.c