summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
index 54ee3ad053..339ca5a218 100644
--- a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
+++ b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
@@ -412,12 +412,16 @@ ecore_ipc_server_connect(Ecore_Ipc_Type compl_type, char *name, int port, const
412 Ecore_Ipc_Server *svr; 412 Ecore_Ipc_Server *svr;
413 Ecore_Ipc_Type type; 413 Ecore_Ipc_Type type;
414 Ecore_Con_Type extra = 0; 414 Ecore_Con_Type extra = 0;
415 int features;
415 416
416 svr = calloc(1, sizeof(Ecore_Ipc_Server)); 417 svr = calloc(1, sizeof(Ecore_Ipc_Server));
417 if (!svr) return NULL; 418 if (!svr) return NULL;
418 type = compl_type; 419 type = compl_type & ECORE_IPC_TYPE;
419 type &= ~ECORE_IPC_USE_SSL; 420 features = compl_type & ECORE_IPC_SSL;
420 if (compl_type & ECORE_IPC_USE_SSL) extra = ECORE_CON_USE_SSL; 421 if ((features & ECORE_IPC_USE_SSL) == ECORE_IPC_USE_SSL)
422 extra |= ECORE_CON_USE_SSL;
423 if ((features & ECORE_IPC_NO_PROXY) == ECORE_IPC_NO_PROXY)
424 extra |= ECORE_CON_NO_PROXY;
421 switch (type) 425 switch (type)
422 { 426 {
423 case ECORE_IPC_LOCAL_USER: 427 case ECORE_IPC_LOCAL_USER: