logger: Fix always re-opening files when --log-fd is used
3 unresolved threads
3 unresolved threads
Compare changes
- Ryan Gonzalez authored
`self->file_stat` was only initialized if an fd was *not* given, which would lead it to always re-create the log file once. steamrt/tasks#487 Signed-off-by:
Ryan Gonzalez <ryan.gonzalez@collabora.com>
+ 4
− 0
@@ -450,6 +450,10 @@ _srt_logger_setup (SrtLogger *self,