]> git.ipfire.org Git - thirdparty/strongswan.git/commit
watcher: Avoid logging on level 1 while holding the mutex
authorTobias Brunner <tobias@strongswan.org>
Tue, 18 Apr 2023 13:46:29 +0000 (15:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 27 Apr 2023 11:45:32 +0000 (13:45 +0200)
commit7c657e78ffd438d7e2231dec0cba4734eba22536
tree8c8a4d1a1514c447a50f228fbd1887daddb88aad
parent2cb6d144a6f3da6d1f006bf8252fa90a9514d435
watcher: Avoid logging on level 1 while holding the mutex

This could be problematic in case loggers in some way rely on watcher_t
themselves.  This particular log message should rarely occur if at all,
but still avoid holding the mutex.
src/libstrongswan/processing/watcher.c
src/libstrongswan/processing/watcher.h