axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r637830 - in /webservices/axis2/trunk/c/util/src: array_list.c class_loader.c
Date Mon, 17 Mar 2008 10:42:18 GMT
Author: pini
Date: Mon Mar 17 03:42:11 2008
New Revision: 637830

URL: http://svn.apache.org/viewvc?rev=637830&view=rev
Log:
Fixed typos

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

Modified: webservices/axis2/trunk/c/util/src/array_list.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/array_list.c?rev=637830&r1=637829&r2=637830&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/array_list.c (original)
+++ webservices/axis2/trunk/c/util/src/array_list.c Mon Mar 17 03:42:11 2008
@@ -74,11 +74,10 @@
     AXIS2_PARAM_CHECK (env->error, array_list, AXIS2_FAILURE);
     if (min_capacity > array_list->capacity)
     {
-        int new_capacity =
-            (array_list->capacity * 2 >
+        int new_capacity = (array_list->capacity * 2 >
              min_capacity) ? (array_list->capacity * 2) : min_capacity;
         void **data = (void **) AXIS2_MALLOC(env->allocator,
-                                             sizeof(void *) * new_capacity);
+            sizeof(void *) * new_capacity);
         if (!data)
         {
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/util/src/class_loader.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/class_loader.c?rev=637830&r1=637829&r2=637830&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/class_loader.c (original)
+++ webservices/axis2/trunk/c/util/src/class_loader.c Mon Mar 17 03:42:11 2008
@@ -19,16 +19,16 @@
 #include <axutil_class_loader.h>
 
 axis2_status_t axutil_class_loader_load_lib(
-    const axutil_env_t * env,
-    axutil_dll_desc_t * dll_desc);
+    const axutil_env_t *env,
+    axutil_dll_desc_t *dll_desc);
 
 axis2_status_t axutil_class_loader_unload_lib(
-    const axutil_env_t * env,
-    axutil_dll_desc_t * dll_desc);
+    const axutil_env_t *env,
+    axutil_dll_desc_t *dll_desc);
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 axutil_class_loader_init(
-    const axutil_env_t * env)
+    const axutil_env_t *env)
 {
     AXIS2_PLATFORM_LOADLIBINIT();
     return AXIS2_SUCCESS;
@@ -36,13 +36,13 @@
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL
 axutil_class_loader_delete_dll(
-    const axutil_env_t * env,
-    axutil_dll_desc_t * dll_desc)
+    const axutil_env_t *env,
+    axutil_dll_desc_t *dll_desc)
 {
     if (!dll_desc)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DLL_CREATE_FAILED,
-                        AXIS2_FAILURE);
+            AXIS2_FAILURE);
         return AXIS2_FAILURE;
     }
     axutil_class_loader_unload_lib(env, dll_desc);
@@ -52,8 +52,8 @@
 
 AXIS2_EXTERN void *AXIS2_CALL
 axutil_class_loader_create_dll(
-    const axutil_env_t * env,
-    axutil_param_t * impl_info_param)
+    const axutil_env_t *env,
+    axutil_param_t *impl_info_param)
 {
     void *obj = NULL;
     CREATE_FUNCT create_funct = NULL;
@@ -67,7 +67,7 @@
     if (!dll_desc)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DLL_CREATE_FAILED,
-                        AXIS2_FAILURE);
+            AXIS2_FAILURE);
         return NULL;
     }
     dl_handler = axutil_dll_desc_get_dl_handler(dll_desc, env);
@@ -77,7 +77,7 @@
         if (AXIS2_SUCCESS != status)
         {
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DLL_CREATE_FAILED,
-                            AXIS2_FAILURE);
+                AXIS2_FAILURE);
             return NULL;
         }
         dl_handler = axutil_dll_desc_get_dl_handler(dll_desc, env);
@@ -88,7 +88,7 @@
 
         create_funct =
             (CREATE_FUNCT) AXIS2_PLATFORM_GETPROCADDR(dl_handler,
-                                                      AXIS2_CREATE_FUNCTION);
+                AXIS2_CREATE_FUNCTION);
         if (!create_funct)
         {
             return NULL;
@@ -98,7 +98,7 @@
         {
             axutil_class_loader_unload_lib(env, dll_desc);
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DLL_CREATE_FAILED,
-                            AXIS2_FAILURE);
+                AXIS2_FAILURE);
             return NULL;
         }
 
@@ -114,7 +114,7 @@
         {
             axutil_class_loader_unload_lib(env, dll_desc);
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DLL_CREATE_FAILED,
-                            AXIS2_FAILURE);
+                AXIS2_FAILURE);
             return NULL;
         }
     }
@@ -122,7 +122,7 @@
     if (!create_funct)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_STATE_DLL_DESC,
-                        AXIS2_FAILURE);
+             AXIS2_FAILURE);
         return NULL;
     }
     error_code = axutil_dll_desc_get_error_code(dll_desc, env);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message