diff --git a/components/net/lwip-1.4.1/src/core/dns.c b/components/net/lwip-1.4.1/src/core/dns.c index f29f945da2a5de7c2abea2b02c307a79bc2d4c33..c124db56e6c5aea86d9f8a5e5fc911f6d8e48ae0 100644 --- a/components/net/lwip-1.4.1/src/core/dns.c +++ b/components/net/lwip-1.4.1/src/core/dns.c @@ -666,7 +666,6 @@ dns_check_entry(u8_t i) pEntry->numdns++; pEntry->tmr = 1; pEntry->retries = 0; - // break; } else { LWIP_DEBUGF(DNS_DEBUG, ("dns_check_entry: \"%s\": timeout\n", pEntry->name)); /* call specified callback function if provided */ @@ -678,10 +677,10 @@ dns_check_entry(u8_t i) break; } } - else{ - /* wait longer for the next retry */ - pEntry->tmr = pEntry->retries; - } + else { + /* wait longer for the next retry */ + pEntry->tmr = pEntry->retries; + } /* send DNS packet for this entry */ err = dns_send(pEntry->numdns, pEntry->name, i);