]> git.ipfire.org Git - thirdparty/bird.git/commit
Log: Reinitialize the static logging structures
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 25 Nov 2020 14:04:34 +0000 (15:04 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 25 Nov 2020 14:04:34 +0000 (15:04 +0100)
commit0ef082c51e5d905e9137e1484036b9d9b32e9a75
tree71bcdb7ea5fdf65fbebbe0acc79b4eccb1087e3a
parent30b846826905b4da76f59a212a31928bd55e9783
Log: Reinitialize the static logging structures

The static logging structures are reused, we need to reinitialize them
otherwise add_tail() would fail in debug build. Reinitializing these
structures should be fine as the list they belong to is being
reinitialized on entry to the very same function.

Thanks to Andreas Rammhold and Mikael Magnusson for patches.
sysdep/unix/log.c