Skip to content

Commit 8961bba

Browse files
mcsprd-a-v
authored andcommitted
LEAmDNS: remove implicit debug statements (#5895)
1 parent b270f49 commit 8961bba

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libraries/ESP8266mDNS/src/LEAmDNS_Control.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
#include <arch/cc.h>
2626
#include <sys/time.h>
27-
#include <HardwareSerial.h>
2827
#include <IPAddress.h>
2928
#include <lwip/ip_addr.h>
3029
#include <WString.h>
@@ -188,7 +187,6 @@ bool MDNSResponder::_parseQuery(const MDNSResponder::stcMDNS_MsgHeader& p_MsgHea
188187
// See: RFC 6762, 8.2 (Tiebraking)
189188
// However, we're using a max. reduced approach for tiebreaking here: The higher IP-address wins!
190189
DEBUG_EX_INFO(DEBUG_OUTPUT.printf_P(PSTR("[MDNSResponder] _parseQuery: Possible race-condition for host domain detected while probing.\n")););
191-
Serial.printf_P(PSTR("[MDNSResponder] _parseQuery: Possible race-condition for host domain detected while probing.\n"));
192190

193191
m_HostProbeInformation.m_bTiebreakNeeded = true;
194192
}
@@ -214,7 +212,6 @@ bool MDNSResponder::_parseQuery(const MDNSResponder::stcMDNS_MsgHeader& p_MsgHea
214212
// See: RFC 6762, 8.2 (Tiebraking)
215213
// However, we're using a max. reduced approach for tiebreaking here: The 'higher' SRV host wins!
216214
DEBUG_EX_INFO(DEBUG_OUTPUT.printf_P(PSTR("[MDNSResponder] _parseQuery: Possible race-condition for service domain %s.%s.%s detected while probing.\n"), (pService->m_pcName ?: m_pcHostname), pService->m_pcService, pService->m_pcProtocol););
217-
Serial.printf_P(PSTR("[MDNSResponder] _parseQuery: Possible race-condition for service domain %s.%s.%s detected while probing.\n"), (pService->m_pcName ?: m_pcHostname), pService->m_pcService, pService->m_pcProtocol);
218215

219216
pService->m_ProbeInformation.m_bTiebreakNeeded = true;
220217
}

0 commit comments

Comments
 (0)