fix really really hard-to-trigger magic failure in ecore-con

SVN revision: 73918
This commit is contained in:
Mike Blumenkrantz 2012-07-16 10:30:31 +00:00
parent 2c1b533d13
commit 06a818fa5d
1 changed files with 1 additions and 0 deletions

View File

@ -2302,6 +2302,7 @@ _ecore_con_client_flush(Ecore_Con_Client *cl)
if (!count)
{
if (!cl->buf) return;
num = eina_binbuf_length_get(cl->buf) - cl->buf_offset;
if (num <= 0) return;
if (!(cl->host_server->type & ECORE_CON_SSL) || (!cl->upgrade))