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.
devs/sung/evas_gl_thread
Gustavo Sverzut Barbieri 6 years ago
parent 74d8148da3
commit 7de5146a3b
  1. 2
      src/lib/ecore_con/ecore_con.c

@ -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)
{

Loading…
Cancel
Save