axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r369349 - in /webservices/axis2/trunk/c/modules/util: error.c network_handler.c
Date Mon, 16 Jan 2006 05:08:19 GMT
Author: samisa
Date: Sun Jan 15 21:08:14 2006
New Revision: 369349

URL: http://svn.apache.org/viewcvs?rev=369349&view=rev
Log:
Fixed warnings

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

Modified: webservices/axis2/trunk/c/modules/util/error.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/error.c?rev=369349&r1=369348&r2=369349&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/error.c (original)
+++ webservices/axis2/trunk/c/modules/util/error.c Sun Jan 15 21:08:14 2006
@@ -348,6 +348,8 @@
         "OM output is NULL";
     axis2_error_messages[AXIS2_ERROR_NULL_STREAM_IN_RESPONSE_BODY] = 
         "We got a NULL strem in the response body";
+
+    return AXIS2_SUCCESS;
 }
 
 axis2_status_t AXIS2_CALL

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=369349&r1=369348&r2=369349&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/network_handler.c (original)
+++ webservices/axis2/trunk/c/modules/util/network_handler.c Sun Jan 15 21:08:14 2006
@@ -147,11 +147,11 @@
 {
 	int cli_socket = -1;
 	struct sockaddr_in cli_addr;
-	int cli_len = 0;
+	socklen_t cli_len = 0;
 	
 	AXIS2_ENV_CHECK(env, AXIS2_CRTICAL_FAILURE);
 	
 	cli_len = sizeof(cli_addr);
-	cli_socket = accept(svr_socket, (struct sockaddr_in *)&cli_addr, &cli_len);
+	cli_socket = accept(svr_socket, (struct sockaddr *)&cli_addr, &cli_len);
 	return cli_socket;
 }



Mime
View raw message