On Wed, 22 Sep 2010, Enlightenment SVN wrote:

> Log:
>  error check server creation
>
> Author:       discomfitor
> Date:         2010-09-22 16:58:31 -0700 (Wed, 22 Sep 2010)
> New Revision: 52612
>
> Modified:
>  trunk/ecore/examples/ecore_con_server_example.c
>
> Modified: trunk/ecore/examples/ecore_con_server_example.c
> ===================================================================
> --- trunk/ecore/examples/ecore_con_server_example.c   2010-09-22 23:24:19 UTC 
> (rev 52611)
> +++ trunk/ecore/examples/ecore_con_server_example.c   2010-09-22 23:58:31 UTC 
> (rev 52612)
> @@ -68,8 +68,8 @@
> */
>
> /* to use simple tcp with ssl/tls, use this line */
> -   ecore_con_server_add(ECORE_CON_REMOTE_TCP | ECORE_CON_USE_MIXED, 
> "127.0.0.1", 8080, NULL);
> -
> +   if (!ecore_con_server_add(ECORE_CON_REMOTE_TCP | ECORE_CON_USE_SSL3, 
> "127.0.0.1", 8080, NULL))
> +     exit(1);

what about exiting cleanly ?

> /* set event handler for client connect */
>    ecore_event_handler_add(ECORE_CON_EVENT_CLIENT_ADD, 
> (Ecore_Event_Handler_Cb)_add, NULL);
> /* set event handler for client disconnect */
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to