chiark / gitweb /
journald: properly sum up entry size counter
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Aug 2014 01:37:56 +0000 (03:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Aug 2014 02:14:02 +0000 (04:14 +0200)
commita174f94d529c7ae9be589867308b669ec9b4dcc0
treea61942487ebf00ca76a93e676a98b47507bee369
parentdc4d47e2c79aafa3ef646e32ff3422c4ce935c1b
journald: properly sum up entry size counter

We should read the entry size before moving to the next iovec, not
after.
src/journal/journald-native.c