summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-19 10:37:21 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-19 10:37:21 -0200
commit7de5146a3b66b5136c3a5ce0b31b5ebd91978f9f (patch)
treefed08a4eaf612c0fd882405ac25e955cff0b1440 /src
parent74d8148da3a91c0016033771595d81f10a73ccac (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_con/ecore_con.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index 53a9bda7a4..6954d174fd 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/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
529 { 529 {
530 x = getaddrinfo(host, port, &hints, &results); 530 x = getaddrinfo(host, port, &hints, &results);
531 } 531 }
532 while ((r == EAI_AGAIN) || ((r == EAI_SYSTEM) && (errno == EINTR))); 532 while ((x == EAI_AGAIN) || ((x == EAI_SYSTEM) && (errno == EINTR)));
533 533
534 if (x != 0) 534 if (x != 0)
535 { 535 {