1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

fix link list bug in ESP8266mDNS (#2347)

This commit is contained in:
martinayotte
2016-07-31 23:21:21 -04:00
committed by Ivan Grokhotkov
parent f50a6c0a8a
commit bd01e44c76

View File

@ -639,7 +639,7 @@ void MDNSResponder::_parsePacket(){
else {
answer = _answers;
while (answer->next != 0) {
answer = _answers->next;
answer = answer->next;
}
answer->next = (struct MDNSAnswer*)(os_malloc(sizeof(struct MDNSAnswer)));
answer = answer->next;