mirror of
				https://github.com/lunarmodules/luasocket.git
				synced 2025-10-31 10:25:55 +01:00 
			
		
		
		
	| @@ -183,6 +183,7 @@ static int inet_global_getaddrinfo(lua_State *L) | ||||
|         ret = getnameinfo(iterator->ai_addr, (socklen_t) iterator->ai_addrlen,  | ||||
|             hbuf, (socklen_t) sizeof(hbuf), NULL, 0, NI_NUMERICHOST); | ||||
|         if (ret){ | ||||
|           freeaddrinfo(resolved); | ||||
|           lua_pushnil(L); | ||||
|           lua_pushstring(L, socket_gaistrerror(ret)); | ||||
|           return 2; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user