From: discomfitor Date: Thu, 28 Oct 2010 10:59:30 +0000 (+0000) Subject: fix some random error cases where events would fire too fast and cause a segv X-Git-Tag: build/2012-07-04.173327~1554 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27c209c0906989ef151f16dac4ec16a277b0b3a4;p=profile%2Fivi%2Fecore.git fix some random error cases where events would fire too fast and cause a segv git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@53952 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 3095fd6..a8f2931 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -1822,6 +1822,7 @@ _ecore_con_cl_handler(void *data, Ecore_Fd_Handler *fd_handler) if (ecore_con_ssl_server_init(svr)) { ERR("ssl handshaking failed!"); + svr->handshaking = EINA_FALSE; Ecore_Con_Event_Server_Del *e; e = calloc(1, sizeof(Ecore_Con_Event_Server_Del)); @@ -2167,6 +2168,7 @@ _ecore_con_svr_cl_handler(void *data, Ecore_Fd_Handler *fd_handler) if (ecore_con_ssl_client_init(cl)) { ERR("ssl handshaking failed!"); + cl->handshaking = EINA_FALSE; /* we lost our client! */ Ecore_Con_Event_Client_Del *e;