diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-20 14:15:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-20 16:16:45 -0400 |
commit | 17ba51a30a87b554093781a3becc6e39e9573684 (patch) | |
tree | 966915cbb600ed1d7204dbd3fc2396b84d966335 /src/common/compat_winthreads.c | |
parent | bb15dc1ebd520cb902124c982abbba135af183b5 (diff) | |
download | tor-17ba51a30a87b554093781a3becc6e39e9573684.tar.gz tor-17ba51a30a87b554093781a3becc6e39e9573684.zip |
Use raw_assert in mutex functions to avoid circularity in logs.
Diffstat (limited to 'src/common/compat_winthreads.c')
-rw-r--r-- | src/common/compat_winthreads.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/compat_winthreads.c b/src/common/compat_winthreads.c index 9d07e1798f..95e70d06bf 100644 --- a/src/common/compat_winthreads.c +++ b/src/common/compat_winthreads.c @@ -74,7 +74,7 @@ tor_mutex_uninit(tor_mutex_t *m) void tor_mutex_acquire(tor_mutex_t *m) { - tor_assert(m); + raw_assert(m); EnterCriticalSection(&m->mutex); } void @@ -248,4 +248,3 @@ tor_threads_init(void) } #endif /* defined(_WIN32) */ - |