diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-09-30 13:47:06 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-09-30 13:47:06 +0300 |
commit | fc760c5088394741ac8c83706be6b737aef79beb (patch) | |
tree | faaf0a7faf92b83c30de6e83ac5d8cb36a0ffb4b /src/test/fuzz | |
parent | 4673cb8168cbacd817c38c3f1ca5c9e88d10b053 (diff) | |
parent | d30a042fa8348028e0bea6f3e46cba1ffbe5adcc (diff) | |
download | tor-fc760c5088394741ac8c83706be6b737aef79beb.tar.gz tor-fc760c5088394741ac8c83706be6b737aef79beb.zip |
Merge branch 'tor-github/pr/1356'
Diffstat (limited to 'src/test/fuzz')
-rw-r--r-- | src/test/fuzz/fuzzing_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzzing_common.c b/src/test/fuzz/fuzzing_common.c index 862acb2b35..e269c36b42 100644 --- a/src/test/fuzz/fuzzing_common.c +++ b/src/test/fuzz/fuzzing_common.c @@ -167,7 +167,7 @@ main(int argc, char **argv) memset(&s, 0, sizeof(s)); set_log_severity_config(loglevel, LOG_ERR, &s); /* ALWAYS log bug warnings. */ - s.masks[LOG_WARN-LOG_ERR] |= LD_BUG; + s.masks[SEVERITY_MASK_IDX(LOG_WARN)] |= LD_BUG; add_stream_log(&s, "", fileno(stdout)); } |