projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92901e0
)
ecore_con: fix rebase issue.
author
Cedric BAIL
<cedric@osg.samsung.com>
Sat, 7 Mar 2015 14:53:40 +0000
(15:53 +0100)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Sat, 7 Mar 2015 14:53:40 +0000
(15:53 +0100)
Catched by Coverity CID 1287124.
src/lib/ecore_con/ecore_con.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_con/ecore_con.c
b/src/lib/ecore_con/ecore_con.c
index
20aa2a8
..
e8d7ab4
100644
(file)
--- 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))