Skip to content

Commit 0c98b60

Browse files
committed
style
1 parent 00453f1 commit 0c98b60

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

libraries/ESP8266mDNS/src/LEAmDNS2Host.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ clsLEAMDNSHost::clsService* clsLEAMDNSHost::addService(const char* p_pcInstanceN
419419
}
420420
}
421421
}
422-
DEBUG_EX_INFO(DEBUG_OUTPUT.printf_P(PSTR("%s addService: %s to add service '%s.%s.%s.local'!\n"), _DH(pService), (pService ? "Succeeded" : "FAILED"), _instanceName(p_pcInstanceName)? : "-", (p_pcType ? : ""), (p_pcProtocol ? : "")););
423-
DEBUG_EX_ERR(if (!pService) DEBUG_OUTPUT.printf_P(PSTR("%s addService: FAILED to add service '%s.%s.%s.local'!\n"), _DH(pService), _instanceName(p_pcInstanceName)? : "-", (p_pcType ? : ""), (p_pcProtocol ? : "")););
422+
DEBUG_EX_INFO(DEBUG_OUTPUT.printf_P(PSTR("%s addService: %s to add service '%s.%s.%s.local'!\n"), _DH(pService), (pService ? "Succeeded" : "FAILED"), _instanceName(p_pcInstanceName) ? : "-", (p_pcType ? : ""), (p_pcProtocol ? : "")););
423+
DEBUG_EX_ERR(if (!pService) DEBUG_OUTPUT.printf_P(PSTR("%s addService: FAILED to add service '%s.%s.%s.local'!\n"), _DH(pService), _instanceName(p_pcInstanceName) ? : "-", (p_pcType ? : ""), (p_pcProtocol ? : "")););
424424
return pService;
425425
}
426426

libraries/ESP8266mDNS/src/LEAmDNS2_Legacy.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,10 @@ class clsLEAMDNSHost_Legacy
502502
Callback function for received answers for dynamic service queries
503503
*/
504504
using MDNSServiceQueryCallbackFn =
505-
std::function<void(const stcMDNSServiceInfo& p_MDNSServiceInfo,
506-
AnswerType p_AnswerType, // flags for the updated answer item
507-
bool p_bSetContent // true: Answer component set, false: component deleted
508-
)>;
505+
std::function<void(const stcMDNSServiceInfo& p_MDNSServiceInfo,
506+
AnswerType p_AnswerType, // flags for the updated answer item
507+
bool p_bSetContent // true: Answer component set, false: component deleted
508+
)>;
509509

510510
// Install a dynamic service query. For every received answer (part) the given callback
511511
// function is called. The query will be updated every time, the TTL for an answer
@@ -565,13 +565,13 @@ class clsLEAMDNSHost_Legacy
565565
Callback function for host domain probe results
566566
*/
567567
using MDNSHostProbeResultCallbackFn =
568-
std::function<void(const char* p_pcDomainName,
569-
bool p_bProbeResult)>;
568+
std::function<void(const char* p_pcDomainName,
569+
bool p_bProbeResult)>;
570570

571571
using MDNSHostProbeResultCallbackFn2 =
572-
std::function<void(clsLEAMDNSHost_Legacy* p_pMDNSResponder,
573-
const char* p_pcDomainName,
574-
bool p_bProbeResult)>;
572+
std::function<void(clsLEAMDNSHost_Legacy* p_pMDNSResponder,
573+
const char* p_pcDomainName,
574+
bool p_bProbeResult)>;
575575

576576
// Set a callback function for host probe results
577577
// The callback function is called, when the probeing for the host domain
@@ -585,15 +585,15 @@ class clsLEAMDNSHost_Legacy
585585
Callback function for service domain probe results
586586
*/
587587
using MDNSServiceProbeResultCallbackFn =
588-
std::function<void(const char* p_pcServiceName,
589-
const hMDNSService p_hMDNSService,
590-
bool p_bProbeResult)>;
588+
std::function<void(const char* p_pcServiceName,
589+
const hMDNSService p_hMDNSService,
590+
bool p_bProbeResult)>;
591591

592592
using MDNSServiceProbeResultCallbackFn2 =
593-
std::function<void(clsLEAMDNSHost_Legacy* p_pMDNSResponder,
594-
const char* p_pcServiceName,
595-
const hMDNSService p_hMDNSService,
596-
bool p_bProbeResult)>;
593+
std::function<void(clsLEAMDNSHost_Legacy* p_pMDNSResponder,
594+
const char* p_pcServiceName,
595+
const hMDNSService p_hMDNSService,
596+
bool p_bProbeResult)>;
597597

598598
// Set a service specific probe result callcack
599599
bool setServiceProbeResultCallback(const hMDNSService p_hService,

0 commit comments

Comments
 (0)