diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-24 12:02:44 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-31 14:37:09 -0500 |
commit | da778f2921d0ae49c47abb4ba4ebe5f92a999ae2 (patch) | |
tree | 4549ef8e40fee3d9245b8bf35e0bddb0487914c3 /src/or/config.h | |
parent | 37f26aa4700eefa59bb548065dcbb4b98add9a55 (diff) | |
download | tor-da778f2921d0ae49c47abb4ba4ebe5f92a999ae2.tar.gz tor-da778f2921d0ae49c47abb4ba4ebe5f92a999ae2.zip |
Use thread-safe types to store the LOG_PROTOCOL_WARN severity
Fixes a race condition; resolves 23954.
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index 7c7ef1825a..2f23809b2e 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -31,6 +31,7 @@ const char *safe_str_client(const char *address); const char *safe_str(const char *address); const char *escaped_safe_str_client(const char *address); const char *escaped_safe_str(const char *address); +void init_protocol_warning_severity_level(void); int get_protocol_warning_severity_level(void); const char *get_version(void); const char *get_short_version(void); |