This commit is contained in:
twinaphex 2017-05-17 09:43:41 +02:00
parent 9096038e20
commit f9960b5f8d

View File

@ -92,7 +92,7 @@ char *inet_ntoa(struct SceNetInAddr in)
{
static char ip_addr[INET_ADDRSTRLEN + 1];
if (inet_ntop_compat(AF_INET, &in, i_paddr, INET_ADDRSTRLEN) == NULL)
if (inet_ntop_compat(AF_INET, &in, ip_addr, INET_ADDRSTRLEN) == NULL)
strlcpy(ip_addr, "Invalid", sizeof(ip_addr));
return ip_addr;