compile fixes for sun compiler
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 29 Sep 2010 04:06:28 +0000 (04:06 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 29 Sep 2010 04:06:28 +0000 (04:06 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@52877 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con.c

index 3e8020e..83e9d8d 100644 (file)
@@ -2229,7 +2229,7 @@ _ecore_con_server_flush(Ecore_Con_Server *svr)
      {
         DBG("Continuing ssl handshake");
         if (ecore_con_ssl_server_init(svr))
-          return _ecore_con_server_kill(svr);
+          _ecore_con_server_kill(svr);
         return;
      }
 
@@ -2239,8 +2239,11 @@ _ecore_con_server_flush(Ecore_Con_Server *svr)
       count = ecore_con_ssl_server_write(svr, svr->write_buf + svr->write_buf_offset, num);
 
    if (count < 0)
+     {
         /* we lost our server! */
-        return _ecore_con_server_kill(svr);
+        _ecore_con_server_kill(svr);
+        return;
+     }
 
    svr->write_buf_offset += count;
    if (svr->write_buf_offset >= svr->write_buf_size)