mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
fix link list bug in ESP8266mDNS (#2347)
This commit is contained in:
committed by
Ivan Grokhotkov
parent
f50a6c0a8a
commit
bd01e44c76
@ -639,7 +639,7 @@ void MDNSResponder::_parsePacket(){
|
|||||||
else {
|
else {
|
||||||
answer = _answers;
|
answer = _answers;
|
||||||
while (answer->next != 0) {
|
while (answer->next != 0) {
|
||||||
answer = _answers->next;
|
answer = answer->next;
|
||||||
}
|
}
|
||||||
answer->next = (struct MDNSAnswer*)(os_malloc(sizeof(struct MDNSAnswer)));
|
answer->next = (struct MDNSAnswer*)(os_malloc(sizeof(struct MDNSAnswer)));
|
||||||
answer = answer->next;
|
answer = answer->next;
|
||||||
|
Reference in New Issue
Block a user