Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and yunhanw-google committed Oct 15, 2024
1 parent a40659d commit f9c39d4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/icd/client/DefaultICDClientStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,10 @@ CHIP_ERROR DefaultICDClientStorage::StoreEntry(const ICDClientInfo & clientInfo)
static_cast<uint16_t>(len)));

ReturnErrorOnFailure(IncreaseEntryCountForFabric(clientInfo.peer_node.GetFabricIndex()));
ChipLogProgress(ICD, "Store ICD entry successfully with peer nodeId " ChipLogFormatScopedNodeId " and checkin nodeId " ChipLogFormatScopedNodeId,
ChipLogValueScopedNodeId(clientInfo.peer_node), ChipLogValueScopedNodeId(clientInfo.check_in_node));
ChipLogProgress(ICD,
"Store ICD entry successfully with peer nodeId " ChipLogFormatScopedNodeId
" and checkin nodeId " ChipLogFormatScopedNodeId,
ChipLogValueScopedNodeId(clientInfo.peer_node), ChipLogValueScopedNodeId(clientInfo.check_in_node));
return CHIP_NO_ERROR;
}

Expand Down Expand Up @@ -479,7 +481,8 @@ CHIP_ERROR DefaultICDClientStorage::DeleteEntry(const ScopedNodeId & peerNode)
backingBuffer.Get(), static_cast<uint16_t>(len)));

ReturnErrorOnFailure(DecreaseEntryCountForFabric(peerNode.GetFabricIndex()));
ChipLogProgress(ICD, "Remove ICD entry successfully with peer nodeId " ChipLogFormatScopedNodeId, ChipLogValueScopedNodeId(peerNode));
ChipLogProgress(ICD, "Remove ICD entry successfully with peer nodeId " ChipLogFormatScopedNodeId,
ChipLogValueScopedNodeId(peerNode));
return CHIP_NO_ERROR;
}

Expand Down

0 comments on commit f9c39d4

Please sign in to comment.