From 84c267d10725a20a6c7092965ede47ece8718355 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 28 Oct 2022 06:26:08 +0000 Subject: [PATCH] Restyled by clang-format --- src/inet/UDPEndPointImplLwIP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inet/UDPEndPointImplLwIP.cpp b/src/inet/UDPEndPointImplLwIP.cpp index 0e0897d29da8d3..8da707a81ab642 100644 --- a/src/inet/UDPEndPointImplLwIP.cpp +++ b/src/inet/UDPEndPointImplLwIP.cpp @@ -371,7 +371,7 @@ void UDPEndPointImplLwIP::LwIPReceiveUDPMessage(void * arg, struct udp_pcb * pcb u16_t port) { Platform::UniquePtr pbufFreeGuard(p); - UDPEndPointImplLwIP * ep = static_cast(arg); + UDPEndPointImplLwIP * ep = static_cast(arg); System::PacketBufferHandle buf = System::PacketBufferHandle(); if (ep->mState == State::kClosed) { @@ -397,7 +397,7 @@ void UDPEndPointImplLwIP::LwIPReceiveUDPMessage(void * arg, struct udp_pcb * pcb if (buf->HasChainedBuffer()) { // Have to allocate a new big-enough buffer and copy. - uint16_t messageSize = buf->TotalLength(); + uint16_t messageSize = buf->TotalLength(); System::PacketBufferHandle copy = System::PacketBufferHandle::New(messageSize, 0); if (copy.IsNull() || buf->Read(copy->Start(), messageSize) != CHIP_NO_ERROR) {