Skip to content

Fix 2110#2112

Merged
jubalh merged 3 commits intomasterfrom
fix-2110
Mar 18, 2026
Merged

Fix 2110#2112
jubalh merged 3 commits intomasterfrom
fix-2110

Conversation

@sjaeckel
Copy link
Copy Markdown
Member

Check commit messages for details.

  • I ran valgrind when using my new feature

Either there are buffer entries or there are none. No need to have negative
values in the API.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Instead of repeating the same pattern over and over, introduce a helper
function that either outputs a formatted timestamp if one is given as
argument or returns the current time if no argument is given.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Change `log_database_get_previous_chat()` to not take ownership of
`end_time`, so it's clear that whoever passes it in, has to free it.

Fixes: #2110
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
@jubalh jubalh added this to the next milestone Mar 18, 2026
@jubalh jubalh merged commit 9de455c into master Mar 18, 2026
7 checks passed
@jubalh jubalh deleted the fix-2110 branch March 18, 2026 16:16
@sjaeckel sjaeckel added the bug label Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants