Do not call _ecore_con_client_flush with a NULL client.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-05 12:39:19 +01:00
parent da275a76b1
commit d9f8e6b525
1 changed files with 1 additions and 4 deletions

View File

@ -2162,10 +2162,7 @@ _ecore_con_svr_udp_handler(void *data,
return ECORE_CALLBACK_RENEW;
if (ecore_main_fd_handler_active_get(fd_handler, ECORE_FD_WRITE))
{
_ecore_con_client_flush(cl);
return ECORE_CALLBACK_RENEW;
}
return ECORE_CALLBACK_RENEW;
if (!ecore_main_fd_handler_active_get(fd_handler, ECORE_FD_READ))
return ECORE_CALLBACK_RENEW;