axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r384744 - /webservices/axis2/trunk/c/modules/util/network_handler.c
Date Fri, 10 Mar 2006 09:48:51 GMT
Author: sahan
Date: Fri Mar 10 01:48:49 2006
New Revision: 384744

URL: http://svn.apache.org/viewcvs?rev=384744&view=rev
Log:
in MSVC8 read is deprecated. replaced with recv

Modified:
    webservices/axis2/trunk/c/modules/util/network_handler.c

Modified: webservices/axis2/trunk/c/modules/util/network_handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/network_handler.c?rev=384744&r1=384743&r2=384744&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/network_handler.c (original)
+++ webservices/axis2/trunk/c/modules/util/network_handler.c Fri Mar 10 01:48:49 2006
@@ -154,7 +154,7 @@
 		return AXIS2_FAILURE;
 	}
     shutdown(socket, AXIS2_SHUT_WR);
-    i = read(socket, buf, 32);
+    i = recv(socket, buf, 32, 0);
     AXIS2_CLOSE_SOCKET(socket);
 	return AXIS2_SUCCESS;
 }



Mime
View raw message