Skip to content

Commit

Permalink
Fix incorrect comment in TLVWriter. (#37459)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored Feb 7, 2025
1 parent 372345e commit 333e921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/TLVWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ CHIP_ERROR TLVWriter::PutString(Tag tag, const char * buf, uint32_t len)
{
return CHIP_ERROR_INVALID_TLV_CHAR_STRING;
}
#endif // CHIP_CONFIG_TLV_VALIDATE_CHAR_STRING_ON_READ
#endif // CHIP_CONFIG_TLV_VALIDATE_CHAR_STRING_ON_WRITE

return WriteElementWithData(kTLVType_UTF8String, tag, reinterpret_cast<const uint8_t *>(buf), len);
}
Expand Down

0 comments on commit 333e921

Please sign in to comment.