8000 LEA_mDNSResponder by LaborEtArs · Pull Request #5358 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

LEA_mDNSResponder #5358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update ESP8266mDNS_Legacy.cpp
Added the 'nullptr' changes from #5342
  • Loading branch information
LaborEtArs committed Nov 24, 2018
commit 2beec0f9a7e20f7d4ff1cf9d8bd8bd07d5303a63
4 changes: 2 additions & 2 deletions libraries/ESP8266mDNS/src/ESP8266mDNS_Legacy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,11 @@ MDNSTxt * MDNSResponder::_getServiceTxt(char *name, char *proto){
for (servicePtr = _services; servicePtr; servicePtr = servicePtr->_next) {
if(servicePtr->_port > 0 && strcmp(servicePtr->_name, name) == 0 && strcmp(servicePtr->_proto, proto) == 0){
if (servicePtr->_txts == 0)
return false;
return nullptr;
return servicePtr->_txts;
}
}
return 0;
return nullptr;
}

uint16_t MDNSResponder::_getServiceTxtLen(char *name, char *proto){
Expand Down
0