@@ -55,8 +55,7 @@ namespace MDNSImplementation
5555 MDNSResponder::stcMDNSServiceTxt::stcMDNSServiceTxt (const char * p_pcKey /* = 0*/ ,
5656 const char * p_pcValue /* = 0*/ ,
5757 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)
6059 {
6160 setKey (p_pcKey);
6261 setValue (p_pcValue);
@@ -67,8 +66,7 @@ namespace MDNSImplementation
6766 */
6867 MDNSResponder::stcMDNSServiceTxt::stcMDNSServiceTxt (
6968 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 )
7270 {
7371 operator =(p_Other);
7472 }
@@ -614,9 +612,8 @@ namespace MDNSImplementation
614612 bool p_bRA /* = false*/ , unsigned char p_ucRCode /* = 0*/ , uint16_t p_u16QDCount /* = 0*/ ,
615613 uint16_t p_u16ANCount /* = 0*/ , uint16_t p_u16NSCount /* = 0*/ ,
616614 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),
620617 m_u16ANCount (p_u16ANCount), m_u16NSCount(p_u16NSCount), m_u16ARCount(p_u16ARCount)
621618 {
622619 }
@@ -813,8 +810,7 @@ namespace MDNSImplementation
813810 */
814811 MDNSResponder::stcMDNS_RRAttributes::stcMDNS_RRAttributes (
815812 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)
818814 {
819815 }
820816
@@ -910,8 +906,7 @@ namespace MDNSImplementation
910906 MDNSResponder::stcMDNS_RRAnswer::stcMDNS_RRAnswer (
911907 enuAnswerType p_AnswerType, const MDNSResponder::stcMDNS_RRHeader& p_Header,
912908 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)
915910 {
916911 // Extract 'cache flush'-bit
917912 m_bCacheFlush = (m_Header.m_Attributes .m_u16Class & 0x8000 );
@@ -955,8 +950,7 @@ namespace MDNSImplementation
955950 */
956951 MDNSResponder::stcMDNS_RRAnswerA::stcMDNS_RRAnswerA (
957952 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 )
960954 {
961955 }
962956
@@ -1094,8 +1088,8 @@ namespace MDNSImplementation
10941088 */
10951089 MDNSResponder::stcMDNS_RRAnswerSRV::stcMDNS_RRAnswerSRV (
10961090 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 )
10991093 {
11001094 }
11011095
@@ -1132,8 +1126,7 @@ namespace MDNSImplementation
11321126 */
11331127 MDNSResponder::stcMDNS_RRAnswerGeneric::stcMDNS_RRAnswerGeneric (
11341128 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 )
11371130 {
11381131 }
11391132
@@ -1212,8 +1205,7 @@ namespace MDNSImplementation
12121205 MDNSResponder::stcMDNSService::stcMDNSService (const char * p_pcName /* = 0*/ ,
12131206 const char * p_pcService /* = 0*/ ,
12141207 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 ),
12171209 m_u8ReplyMask (0 ), m_fnTxtCallback(0 )
12181210 {
12191211 setName (p_pcName);
@@ -1538,9 +1530,7 @@ namespace MDNSImplementation
15381530 MDNSResponder::stcMDNSServiceQuery::stcAnswer::stcIP4Address::stcIP4Address constructor
15391531 */
15401532 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)
15441534 {
15451535 m_TTL.set (p_u32TTL);
15461536 }
@@ -2172,9 +2162,8 @@ namespace MDNSImplementation
21722162 */
21732163 MDNSResponder::stcMDNSSendParameter::stcDomainCacheItem::stcDomainCacheItem (
21742164 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)
21782167 {
21792168 }
21802169
0 commit comments