mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
Unfortunately, journal_file_next_entry() returns 0 when the next entry not found. The commitcc938e4a0aadds FIXME comment about that. We should really fix that, but the function and its return value are used in many place, hence checking all usecases is not easy. So, let's workaround that here, and handle the 0 return value by the caller. Follow-up for34af74946e. Fixes #26822.