Skip to content

Commit 016f0cd

Browse files
committed
Fix some cpplint issues
(cherry picked from commit 3d752e7)
1 parent d89abd2 commit 016f0cd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

libs/acn/LLRPProbeReplyPDU.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ using ola::rdm::UID;
3535
bool LLRPProbeReplyPDU::PackData(uint8_t *data, unsigned int *length) const {
3636
llrp_probe_reply_pdu_data pdu_data;
3737
m_target_uid.Pack(pdu_data.target_uid, sizeof(pdu_data.target_uid));
38-
m_hardware_address.Pack(pdu_data.hardware_address, sizeof(pdu_data.hardware_address));
38+
m_hardware_address.Pack(pdu_data.hardware_address,
39+
sizeof(pdu_data.hardware_address));
3940
pdu_data.type = HostToNetwork(static_cast<uint8_t>(m_type));
4041

4142
*length = sizeof(llrp_probe_reply_pdu_data);

libs/acn/LLRPProbeReplyPDUTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ void LLRPProbeReplyPDUTest::testSimpleLLRPProbeReplyPDU() {
9999
OLA_ASSERT_DATA_EQUALS(&data[4], UID::LENGTH, buffer, sizeof(buffer));
100100
uint8_t buffer2[MACAddress::LENGTH];
101101
hardware_address.Pack(buffer2, sizeof(buffer2));
102-
OLA_ASSERT_DATA_EQUALS(&data[10], MACAddress::LENGTH, buffer2, sizeof(buffer2));
102+
OLA_ASSERT_DATA_EQUALS(&data[10], MACAddress::LENGTH,
103+
buffer2, sizeof(buffer2));
103104

104105
// test undersized buffer
105106
bytes_used = size - 1;

0 commit comments

Comments
 (0)