@@ -55,8 +55,7 @@ namespace MDNSImplementation
55
55
MDNSResponder::stcMDNSServiceTxt::stcMDNSServiceTxt (const char * p_pcKey /* = 0*/ ,
56
56
const char * p_pcValue /* = 0*/ ,
57
57
bool p_bTemp /* = false*/ ) :
58
- m_pNext (0 ),
59
- m_pcKey (0 ), m_pcValue(0 ), m_bTemp(p_bTemp)
58
+ m_pNext (0 ), m_pcKey(0 ), m_pcValue(0 ), m_bTemp(p_bTemp)
60
59
{
61
60
setKey (p_pcKey);
62
61
setValue (p_pcValue);
@@ -67,8 +66,7 @@ namespace MDNSImplementation
67
66
*/
68
67
MDNSResponder::stcMDNSServiceTxt::stcMDNSServiceTxt (
69
68
const MDNSResponder::stcMDNSServiceTxt& p_Other) :
70
- m_pNext (0 ),
71
- m_pcKey (0 ), m_pcValue(0 ), m_bTemp(false )
69
+ m_pNext (0 ), m_pcKey(0 ), m_pcValue(0 ), m_bTemp(false )
72
70
{
73
71
operator =(p_Other);
74
72
}
@@ -614,9 +612,8 @@ namespace MDNSImplementation
614
612
bool p_bRA /* = false*/ , unsigned char p_ucRCode /* = 0*/ , uint16_t p_u16QDCount /* = 0*/ ,
615
613
uint16_t p_u16ANCount /* = 0*/ , uint16_t p_u16NSCount /* = 0*/ ,
616
614
uint16_t p_u16ARCount /* = 0*/ ) :
617
- m_u16ID (p_u16ID),
618
- m_1bQR (p_bQR), m_4bOpcode(p_ucOpcode), m_1bAA(p_bAA), m_1bTC(p_bTC), m_1bRD(p_bRD),
619
- m_1bRA (p_bRA), m_3bZ(0 ), m_4bRCode(p_ucRCode), m_u16QDCount(p_u16QDCount),
615
+ m_u16ID (p_u16ID), m_1bQR(p_bQR), m_4bOpcode(p_ucOpcode), m_1bAA(p_bAA), m_1bTC(p_bTC),
616
+ m_1bRD (p_bRD), m_1bRA(p_bRA), m_3bZ(0 ), m_4bRCode(p_ucRCode), m_u16QDCount(p_u16QDCount),
620
617
m_u16ANCount (p_u16ANCount), m_u16NSCount(p_u16NSCount), m_u16ARCount(p_u16ARCount)
621
618
{
622
619
}
@@ -813,8 +810,7 @@ namespace MDNSImplementation
813
810
*/
814
811
MDNSResponder::stcMDNS_RRAttributes::stcMDNS_RRAttributes (
815
812
uint16_t p_u16Type /* = 0*/ , uint16_t p_u16Class /* = 1 DNS_RRCLASS_IN Internet*/ ) :
816
- m_u16Type (p_u16Type),
817
- m_u16Class (p_u16Class)
813
+ m_u16Type (p_u16Type), m_u16Class(p_u16Class)
818
814
{
819
815
}
820
816
@@ -910,8 +906,7 @@ namespace MDNSImplementation
910
906
MDNSResponder::stcMDNS_RRAnswer::stcMDNS_RRAnswer (
911
907
enuAnswerType p_AnswerType, const MDNSResponder::stcMDNS_RRHeader& p_Header,
912
908
uint32_t p_u32TTL) :
913
- m_pNext (0 ),
914
- m_AnswerType (p_AnswerType), m_Header(p_Header), m_u32TTL(p_u32TTL)
909
+ m_pNext (0 ), m_AnswerType(p_AnswerType), m_Header(p_Header), m_u32TTL(p_u32TTL)
915
910
{
916
911
// Extract 'cache flush'-bit
917
912
m_bCacheFlush = (m_Header.m_Attributes .m_u16Class & 0x8000 );
@@ -955,8 +950,7 @@ namespace MDNSImplementation
955
950
*/
956
951
MDNSResponder::stcMDNS_RRAnswerA::stcMDNS_RRAnswerA (
957
952
const MDNSResponder::stcMDNS_RRHeader& p_Header, uint32_t p_u32TTL) :
958
- stcMDNS_RRAnswer(AnswerType_A, p_Header, p_u32TTL),
959
- m_IPAddress(0 , 0 , 0 , 0 )
953
+ stcMDNS_RRAnswer(AnswerType_A, p_Header, p_u32TTL), m_IPAddress(0 , 0 , 0 , 0 )
960
954
{
961
955
}
962
956
@@ -1094,8 +1088,8 @@ namespace MDNSImplementation
1094
1088
*/
1095
1089
MDNSResponder::stcMDNS_RRAnswerSRV::stcMDNS_RRAnswerSRV (
1096
1090
const MDNSResponder::stcMDNS_RRHeader& p_Header, uint32_t p_u32TTL) :
1097
- stcMDNS_RRAnswer (AnswerType_SRV, p_Header, p_u32TTL),
1098
- m_u16Priority ( 0 ), m_u16Weight( 0 ), m_u16Port(0 )
1091
+ stcMDNS_RRAnswer (AnswerType_SRV, p_Header, p_u32TTL), m_u16Priority( 0 ), m_u16Weight( 0 ),
1092
+ m_u16Port (0 )
1099
1093
{
1100
1094
}
1101
1095
@@ -1132,8 +1126,7 @@ namespace MDNSImplementation
1132
1126
*/
1133
1127
MDNSResponder::stcMDNS_RRAnswerGeneric::stcMDNS_RRAnswerGeneric (
1134
1128
const stcMDNS_RRHeader& p_Header, uint32_t p_u32TTL) :
1135
- stcMDNS_RRAnswer (AnswerType_Generic, p_Header, p_u32TTL),
1136
- m_u16RDLength (0 ), m_pu8RDData(0 )
1129
+ stcMDNS_RRAnswer (AnswerType_Generic, p_Header, p_u32TTL), m_u16RDLength(0 ), m_pu8RDData(0 )
1137
1130
{
1138
1131
}
1139
1132
@@ -1212,8 +1205,7 @@ namespace MDNSImplementation
1212
1205
MDNSResponder::stcMDNSService::stcMDNSService (const char * p_pcName /* = 0*/ ,
1213
1206
const char * p_pcService /* = 0*/ ,
1214
1207
const char * p_pcProtocol /* = 0*/ ) :
1215
- m_pNext (0 ),
1216
- m_pcName (0 ), m_bAutoName(false ), m_pcService(0 ), m_pcProtocol(0 ), m_u16Port(0 ),
1208
+ m_pNext (0 ), m_pcName(0 ), m_bAutoName(false ), m_pcService(0 ), m_pcProtocol(0 ), m_u16Port(0 ),
1217
1209
m_u8ReplyMask (0 ), m_fnTxtCallback(0 )
1218
1210
{
1219
1211
setName (p_pcName);
@@ -1538,9 +1530,7 @@ namespace MDNSImplementation
1538
1530
MDNSResponder::stcMDNSServiceQuery::stcAnswer::stcIP4Address::stcIP4Address constructor
1539
1531
*/
1540
1532
MDNSResponder::stcMDNSServiceQuery::stcAnswer::stcIP4Address::stcIP4Address (
1541
- IPAddress p_IPAddress, uint32_t p_u32TTL /* = 0*/ ) :
1542
- m_pNext(0 ),
1543
- m_IPAddress(p_IPAddress)
1533
+ IPAddress p_IPAddress, uint32_t p_u32TTL /* = 0*/ ) : m_pNext(0 ), m_IPAddress(p_IPAddress)
1544
1534
{
1545
1535
m_TTL.set (p_u32TTL);
1546
1536
}
@@ -2172,9 +2162,8 @@ namespace MDNSImplementation
2172
2162
*/
2173
2163
MDNSResponder::stcMDNSSendParameter::stcDomainCacheItem::stcDomainCacheItem (
2174
2164
const void * p_pHostnameOrService, bool p_bAdditionalData, uint32_t p_u16Offset) :
2175
- m_pNext (0 ),
2176
- m_pHostnameOrService (p_pHostnameOrService), m_bAdditionalData(p_bAdditionalData),
2177
- m_u16Offset (p_u16Offset)
2165
+ m_pNext (0 ), m_pHostnameOrService(p_pHostnameOrService),
2166
+ m_bAdditionalData (p_bAdditionalData), m_u16Offset(p_u16Offset)
2178
2167
{
2179
2168
}
2180
2169
0 commit comments