get_clf_timestamp(): Fix locking of localtime()
authorFabian Keil <fk@fabiankeil.de>
Sun, 7 Jun 2020 17:24:00 +0000 (19:24 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 8 Jun 2020 13:40:09 +0000 (15:40 +0200)
commit326d2da979c442da79590d388cbfca249f55a103
tree2ff6f28fc2d150a25b4a44c2b54b48013d29ef0d
parente38abca385ad4ac6fcb5b0daf486b72d5e19c012
get_clf_timestamp(): Fix locking of localtime()

Previously we were only locking the actual localtime()
call while we should keep the lock until the returned
pointer is no longer being used.
errlog.c