aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-09-30 13:47:06 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-09-30 13:47:06 +0300
commitfc760c5088394741ac8c83706be6b737aef79beb (patch)
treefaaf0a7faf92b83c30de6e83ac5d8cb36a0ffb4b /src/test/fuzz
parent4673cb8168cbacd817c38c3f1ca5c9e88d10b053 (diff)
parentd30a042fa8348028e0bea6f3e46cba1ffbe5adcc (diff)
downloadtor-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.c2
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));
}