aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-03-07 15:53:40 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-07 15:53:40 +0100
commit54fa8c7e423022fb461ff7e2a49855b77176e1ed (patch)
treea4dd80c79e1bf97b70b9dfa865553e76b381b43a /src/lib/ecore_con
parentexamples: fix bad unref's in ecore and evas. (diff)
downloadefl-54fa8c7e423022fb461ff7e2a49855b77176e1ed.tar.gz
ecore_con: fix rebase issue.
Catched by Coverity CID 1287124.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index 20aa2a8983..e8d7ab4672 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -401,6 +401,8 @@ _ecore_con_server_eo_base_finalize(Ecore_Con_Server *obj, Ecore_Con_Server_Data
if (!svr->name)
goto error;
+ type = compl_type & ECORE_CON_TYPE;
+
EINA_SAFETY_ON_TRUE_GOTO(((type == ECORE_CON_REMOTE_TCP) ||
(type == ECORE_CON_REMOTE_NODELAY) ||
(type == ECORE_CON_REMOTE_CORK) ||
@@ -411,8 +413,6 @@ _ecore_con_server_eo_base_finalize(Ecore_Con_Server *obj, Ecore_Con_Server_Data
if (ecore_con_ssl_server_prepare(obj, compl_type & ECORE_CON_SSL))
goto error;
- type = compl_type & ECORE_CON_TYPE;
-
if ((type == ECORE_CON_LOCAL_USER) ||
(type == ECORE_CON_LOCAL_SYSTEM) ||
(type == ECORE_CON_LOCAL_ABSTRACT))