Skip to content

Commit ed212d9

Browse files
committed
fixing the build issue
1 parent 16f435f commit ed212d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platform/silabs/EndpointQueueFilter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "EndpointQueueFilter.h"
22
#include <algorithm>
33
#include <cctype>
4-
#include <lib/support/CodeUtils.h>
54
#include <string.h>
5+
#include <support/CodeUtils.h>
66
#include <support/logging/CHIPLogging.h>
77
namespace chip {
88
namespace Inet {
@@ -83,7 +83,7 @@ FilterOutcome HostNameFilter::Filter(const void * endpoint, const IPPacketInfo &
8383

8484
CHIP_ERROR HostNameFilter::SetHostName(const CharSpan & hostName)
8585
{
86-
ReturnErrorCodeIf(!IsValidMdnsHostName(hostName), CHIP_ERROR_INVALID_ARGUMENT);
86+
VerifyOrReturnError(IsValidMdnsHostName(hostName), CHIP_ERROR_INVALID_ARGUMENT);
8787
memcpy(mHostName, hostName.data(), hostName.size());
8888
return CHIP_NO_ERROR;
8989
}

0 commit comments

Comments
 (0)