forked from enlightenment/efl
efl_net: fix CID 1367489 due copy & paste.
we're looking at "x" since it's the return of getaddrinfo(), not "r" which is used for something else.
This commit is contained in:
parent
74d8148da3
commit
7de5146a3b
|
@ -529,7 +529,7 @@ efl_net_ip_socket_activate_check(const char *address, int family, int type, Eina
|
||||||
{
|
{
|
||||||
x = getaddrinfo(host, port, &hints, &results);
|
x = getaddrinfo(host, port, &hints, &results);
|
||||||
}
|
}
|
||||||
while ((r == EAI_AGAIN) || ((r == EAI_SYSTEM) && (errno == EINTR)));
|
while ((x == EAI_AGAIN) || ((x == EAI_SYSTEM) && (errno == EINTR)));
|
||||||
|
|
||||||
if (x != 0)
|
if (x != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue