]> git.ipfire.org Git - pakfire.git/commit
log buffer: Keep count of the current number of lines
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jan 2025 15:43:30 +0000 (15:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jan 2025 15:43:30 +0000 (15:43 +0000)
commitd577fe14cb105d2ede2abf2973933d690cf2a858
tree9018922e7d10b257c120b85b4a8a40ea819afbc5
parent8ab031ffa6f82828f1c35cb486f1078566e05223
log buffer: Keep count of the current number of lines

This avoids the rather expensive counting operation.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/log_buffer.c