Skip to content

Commit a58d5e6

Browse files
committed
Fix some minor comments
1 parent baf60c9 commit a58d5e6

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

include/ola/e133/E133Enums.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ enum {
9797
MAX_E133_STATUS_STRING_SIZE = 64
9898
};
9999

100-
// The E1.33 version..
100+
// The E1.33 version.
101101
enum {
102102
E133_VERSION = 1
103103
};

libs/acn/BrokerPDU.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ unsigned int BrokerPDU::DataSize() const {
4242
* Pack the data portion.
4343
*/
4444
bool BrokerPDU::PackData(uint8_t *data, unsigned int *length) const {
45-
if (m_pdu)
45+
if (m_pdu) {
4646
return m_pdu->Pack(data, length);
47+
}
4748
*length = 0;
4849
return true;
4950
}
@@ -53,8 +54,9 @@ bool BrokerPDU::PackData(uint8_t *data, unsigned int *length) const {
5354
* Pack the data into a buffer
5455
*/
5556
void BrokerPDU::PackData(OutputStream *stream) const {
56-
if (m_pdu)
57+
if (m_pdu) {
5758
m_pdu->Write(stream);
59+
}
5860
}
5961

6062

0 commit comments

Comments
 (0)