From f1db8986b1f9e56248ce4ca3ef8138bf7803f468 Mon Sep 17 00:00:00 2001 From: cedric Date: Wed, 8 Oct 2008 13:31:09 +0000 Subject: [PATCH] Correctly use addrinfo. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@36526 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_con/ecore_con_info.c b/src/lib/ecore_con/ecore_con_info.c index c7d4dd5..e7eb455 100644 --- a/src/lib/ecore_con/ecore_con_info.c +++ b/src/lib/ecore_con/ecore_con_info.c @@ -195,7 +195,7 @@ ecore_con_info_get(Ecore_Con_Server *svr, /* FIXME with EINA */ snprintf(service, NI_MAXSERV, "%i", svr->port); /* CHILD */ - if (!getaddrinfo(svr->name, service, &hints, &result) && result) + if (!getaddrinfo(svr->name, service, hints, &result) && result) { memcpy(&container.info, result, sizeof(struct addrinfo)); container.info.ai_canonname = NULL; -- 2.7.4