Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_con
Modified Files:
ecore_con.c
Log Message:
Fixed a compilation error spotted by RbdPngn
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ecore_con.c 31 Mar 2004 16:47:45 -0000 1.12
+++ ecore_con.c 1 Apr 2004 16:37:47 -0000 1.13
@@ -273,7 +273,7 @@
const void *data)
{
Ecore_Con_Server *svr;
- Ecore_Con_Type type = compl_type & ~ECORE_CON_USE_SSL;
+ Ecore_Con_Type type = compl_type;
struct sockaddr_un socket_unix;
struct sockaddr_in socket_addr;
int curstate = 0;
@@ -286,7 +286,12 @@
/* remote system socket: TCP/IP: [name]:[port] */
svr = calloc(1, sizeof(Ecore_Con_Server));
if (!svr) return NULL;
-
+
+#if USE_OPENSSL
+ /* unset the SSL flag for the following checks */
+ type &= ~ECORE_CON_USE_SSL;
+#endif
+
if ((type == ECORE_CON_LOCAL_USER) ||
(type == ECORE_CON_LOCAL_SYSTEM))
{
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs