Skip to content

Commit ce00b70

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2b7aa59 commit ce00b70

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/app/server/Dnssd.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ void DnssdServer::StartServer(Dnssd::CommissioningMode mode)
487487
{
488488
TEMPORARY_RETURN_IGNORED DeviceLayer::PlatformMgr().AddEventHandler(OnPlatformEventWrapper, 0);
489489

490-
if(Dnssd::ServiceAdvertiser::Instance().Init(chip::DeviceLayer::UDPEndPointManager()) != CHIP_NO_ERROR)
490+
if (Dnssd::ServiceAdvertiser::Instance().Init(chip::DeviceLayer::UDPEndPointManager()) != CHIP_NO_ERROR)
491491
{
492492
// No need to do anything if init failed device is probably not commissionned/not on network
493493
ChipLogError(Discovery, "Failed to initialize advertiser");
@@ -532,7 +532,6 @@ void DnssdServer::StartServer(Dnssd::CommissioningMode mode)
532532
#endif // CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY
533533

534534
SuccessOrLog(Dnssd::ServiceAdvertiser::Instance().FinalizeServiceUpdate(), Discovery, "Failed to finalize service update");
535-
536535
}
537536

538537
#if CHIP_ENABLE_ROTATING_DEVICE_ID && defined(CHIP_DEVICE_CONFIG_ROTATING_DEVICE_ID_UNIQUE_ID)

0 commit comments

Comments
 (0)