Skip to content

Commit cd53865

Browse files
authored
Bump ESP-IDF to 3.3.2 LTS (#3196)
1 parent 04e01fd commit cd53865

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/modules/net.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -978,13 +978,13 @@ static int net_getdnsserver( lua_State* L ) {
978978
// ip_addr_t ipaddr;
979979
// dns_getserver(numdns,&ipaddr);
980980
// Bug fix by @md5crypt https://github.com/nodemcu/nodemcu-firmware/pull/500
981-
ip_addr_t ipaddr = dns_getserver(numdns);
981+
const ip_addr_t *ipaddr = dns_getserver(numdns);
982982

983-
if ( ip_addr_isany(&ipaddr) ) {
983+
if ( ip_addr_isany(ipaddr) ) {
984984
lua_pushnil( L );
985985
} else {
986986
char temp[IP_STR_SZ];
987-
ipstr (temp, &ipaddr);
987+
ipstr (temp, ipaddr);
988988
lua_pushstring( L, temp );
989989
}
990990

sdk/esp32-esp-idf

Submodule esp32-esp-idf updated 559 files

0 commit comments

Comments
 (0)