Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_con


Modified Files:
        ecore_con.c 


Log Message:
Oops :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_con/ecore_con.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ecore_con.c 3 Apr 2004 15:03:33 -0000       1.16
+++ ecore_con.c 4 Apr 2004 00:15:56 -0000       1.17
@@ -805,7 +805,7 @@
 #if USE_OPENSSL
             if (!svr->ssl) {
 #endif
-            if ((num = read(svr->fd, svr->read_buf, READBUFSIZ)) < 0)
+            if ((num = read(svr->fd, svr->read_buf, READBUFSIZ)) < 1)
                lost_server = (errno == EIO || errno == EBADF ||
                               errno == EPIPE || errno == EINVAL ||
                               errno == ENOSPC || num == 0); /* is num == 0 right? */




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to