axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r949629 - in /axis/axis2/c/core/trunk/util: include/axutil_config.h src/network_handler.c
Date Sun, 30 May 2010 22:16:02 GMT
Author: nadiramra
Date: Sun May 30 22:16:02 2010
New Revision: 949629

URL: http://svn.apache.org/viewvc?rev=949629&view=rev
Log:
AXIS2C-1478 Changes due to port to IBM i (aka OS/400).

Modified:
    axis/axis2/c/core/trunk/util/include/axutil_config.h
    axis/axis2/c/core/trunk/util/src/network_handler.c

Modified: axis/axis2/c/core/trunk/util/include/axutil_config.h
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/include/axutil_config.h?rev=949629&r1=949628&r2=949629&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/include/axutil_config.h (original)
+++ axis/axis2/c/core/trunk/util/include/axutil_config.h Sun May 30 22:16:02 2010
@@ -28,7 +28,9 @@
 #undef PACKAGE_VERSION
 #undef VERSION
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 /* undef unwated cnfig macros to avoid conflicts with APR macros */
 #undef PACKAGE

Modified: axis/axis2/c/core/trunk/util/src/network_handler.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/src/network_handler.c?rev=949629&r1=949628&r2=949629&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/src/network_handler.c (original)
+++ axis/axis2/c/core/trunk/util/src/network_handler.c Sun May 30 22:16:02 2010
@@ -435,7 +435,7 @@ axutil_network_handler_read_dgram(
 {
     struct sockaddr_in sender_address;
     int received = 0;
-    unsigned int sender_address_size = sizeof(sender_address);
+    int sender_address_size = sizeof(sender_address);
 
     received = recvfrom(sock, buffer, *buf_len, 0, (struct sockaddr *)&sender_address,
         &sender_address_size);
@@ -481,7 +481,7 @@ axutil_network_handler_send_dgram(
     struct sockaddr_in recv_addr, source_addr;
     int send_bytes = 0;
     unsigned int recv_addr_size = 0;
-    unsigned int source_addr_size = sizeof(source_addr);
+    int source_addr_size = sizeof(source_addr);
     recv_addr_size = sizeof(recv_addr);
 
     memset(&recv_addr, 0, sizeof(recv_addr));



Mime
View raw message