axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r331937 - /webservices/axis2/trunk/c/modules/util/src/array_list.c
Date Wed, 09 Nov 2005 03:35:29 GMT
Author: samisa
Date: Tue Nov  8 19:35:26 2005
New Revision: 331937

URL: http://svn.apache.org/viewcvs?rev=331937&view=rev
Log:
Fixed bugs, now the unit test pases

Modified:
    webservices/axis2/trunk/c/modules/util/src/array_list.c

Modified: webservices/axis2/trunk/c/modules/util/src/array_list.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/src/array_list.c?rev=331937&r1=331936&r2=331937&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/src/array_list.c (original)
+++ webservices/axis2/trunk/c/modules/util/src/array_list.c Tue Nov  8 19:35:26 2005
@@ -129,6 +129,8 @@
     array_list_impl->array_list.ops->check_bound_inclusive = axis2_array_list_check_bound_inclusive;
     array_list_impl->array_list.ops->check_bound_exclusive = axis2_array_list_check_bound_exclusive;
           
     array_list_impl->array_list.ops->free = axis2_array_list_free;
+
+    return &(array_list_impl->array_list);
 }
 
 
@@ -239,7 +241,7 @@
     AXIS2_FUNC_PARAM_CHECK(array_list, env, AXIS2_FAILURE);
     
     array_list_impl = AXIS2_INTF_TO_IMPL(array_list);    
-    
+   
     if (array_list_impl->size == array_list_impl->capacity)
       if (axis2_array_list_ensure_capacity(array_list, env, array_list_impl->size + 1)
!= AXIS2_SUCCESS )
           return AXIS2_FAILURE;



Mime
View raw message