On Thursday, 29 July 2010, at 17:17:24 (-0400),
m...@zentific.com wrote:

> typedef enum _Ecore_Con_Type
> {
>    ECORE_CON_LOCAL_USER = 0, /** Socket in ~/.ecore */
>    ECORE_CON_LOCAL_SYSTEM = 1, /** Socket in /tmp */
>    ECORE_CON_LOCAL_ABSTRACT = 2, /** Abstract socket */
>    ECORE_CON_REMOTE_TCP = 3, /** Remote server using TCP */
>    ECORE_CON_REMOTE_MCAST = 4, /** Remote multicast server */
>    ECORE_CON_REMOTE_UDP = 5, /** Remote server using UDP */
>    ECORE_CON_REMOTE_BROADCAST = 6, /** Remote broadcast using UDP */
>    ECORE_CON_REMOTE_NODELAY = 7,
> 
>    ECORE_CON_USE_SSL2 = (1 << 4), /** Use SSL2: UNSUPPORTED. **/
>    ECORE_CON_USE_SSL3 = (1 << 5), /** Use SSL3 */
>    ECORE_CON_USE_TLS = (1 << 6), /** Use TLS */
> 
>    ECORE_CON_LOAD_CERT = (1 << 7) /** Attempt to use the previously
>    loaded certificate */ } Ecore_Con_Type;
> }

Yeah, that's his point.  Those are NOT bitwise values.  Not until
USE_SSL2, at least.  The "fix" is wrong.  If you want to use bitwise
values, the enum needs to be redone.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <m...@kainx.org>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "I gather myself around my faith, for the Light is the Darkness
  most feared."                                      -- Jewel, "Hands"

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to