Skip to content

Commit f3ab98c

Browse files
restyled-commitsAlami-Amine
authored andcommittedSep 18, 2024
Restyled by clang-format
1 parent ac53b3c commit f3ab98c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎examples/all-clusters-app/linux/fuzzing-main.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * aData, size_t aSize)
7575
// the incoming data?
7676

7777
// dumping payload with fuzzed transport types
78-
Transport::Type fuzzedTransportType = static_cast<Transport::Type>(aData[0] % static_cast<uint8_t>(Transport::Type::kNumofTypes));
78+
Transport::Type fuzzedTransportType =
79+
static_cast<Transport::Type>(aData[0] % static_cast<uint8_t>(Transport::Type::kNumofTypes));
7980
Transport::PeerAddress peerAddr(fuzzedTransportType);
8081

8182
if (aSize < 1)

‎src/transport/raw/PeerAddress.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ enum class Type : uint8_t
5454
kBle,
5555
kTcp,
5656
kWiFiPAF,
57-
kNumofTypes, //This is not an actual transport type, it just refers to the number of transport types
57+
kNumofTypes, // This is not an actual transport type, it just refers to the number of transport types
5858
};
5959

6060
/**

0 commit comments

Comments
 (0)