[Pvfs2-cvs] commit by slang in pvfs2/src/io/bmi/bmi_tcp: sockio.c

CVS commit program cvs at parl.clemson.edu
Tue Dec 11 13:02:42 EST 2007


Update of /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp
In directory parlweb1:/tmp/cvs-serv22722/src/io/bmi/bmi_tcp

Modified Files:
	sockio.c 
Log Message:
keep the comment in there


Index: sockio.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp/sockio.c,v
diff -p -u -r1.28 -r1.29
--- sockio.c	11 Dec 2007 16:28:43 -0000	1.28
+++ sockio.c	11 Dec 2007 18:02:41 -0000	1.29
@@ -191,7 +191,7 @@ int BMI_sockio_nbrecv(int s,
     {
       nbrecv_restart:
 	ret = recv(s, buf, comp, DEFAULT_MSG_FLAGS);
-        if (ret == 0)
+        if (ret == 0) /* socket closed */
         {
             errno = EPIPE;
             return (-1);



More information about the Pvfs2-cvs mailing list