Skip to content

Commit

Permalink
fix options
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Korczynski <[email protected]>
  • Loading branch information
AdamKorcz committed Jan 18, 2025
1 parent dd3ab93 commit 26b6000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fuzzers/cpp/JSONLayoutFuzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {

// Optional locationinfo
if (fdp.ConsumeBool()) {
layout.setOption(LOG4CXX_STR("LOCATIONINFO"), LOG4CXX_STR("locationinfo"));
layout.setOption(LOG4CXX_STR("LOCATIONINFO"), LOG4CXX_STR("true"));
}
// Optional threadinfo
if (fdp.ConsumeBool()) {
layout.setOption(LOG4CXX_STR("THREADINFO"), LOG4CXX_STR("threadinfo"));
layout.setOption(LOG4CXX_STR("THREADINFO"), LOG4CXX_STR("true"));
}
// Optional prettyprint
if (fdp.ConsumeBool()) {
layout.setOption(LOG4CXX_STR("PRETTYPRINT"), LOG4CXX_STR("prettyprint"));
layout.setOption(LOG4CXX_STR("PRETTYPRINT"), LOG4CXX_STR("true"));
}

// Create random strings we need later
Expand Down

0 comments on commit 26b6000

Please sign in to comment.