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:
Gustavo Sverzut Barbieri 2016-12-19 10:37:21 -02:00
parent 74d8148da3
commit 7de5146a3b
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@ efl_net_ip_socket_activate_check(const char *address, int family, int type, Eina
{
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)
{