axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r519895 [2/4] - in /webservices/axis2/trunk/c: axiom/src/attachments/ axiom/src/om/ axiom/src/util/ include/ modules/core/clientapi/ modules/core/context/ modules/core/deployment/ modules/core/description/ modules/core/engine/ modules/core/...
Date Mon, 19 Mar 2007 10:32:21 GMT
Modified: webservices/axis2/trunk/c/modules/core/engine/engine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/engine.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/engine.c Mon Mar 19 03:31:58 2007
@@ -124,7 +124,7 @@
             conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
             if (conf)
             {
-                axis2_array_list_t *global_out_phase = AXIS2_CONF_GET_OUT_PHASES(conf, env);
+                axis2_array_list_t *global_out_phase =  axis2_conf_get_out_phases(conf, env);
                 if (global_out_phase)
                 {
                     axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx);
@@ -147,7 +147,7 @@
             conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
             if (conf)
             {
-                axis2_array_list_t *global_out_phase = AXIS2_CONF_GET_OUT_PHASES(conf, env);
+                axis2_array_list_t *global_out_phase =  axis2_conf_get_out_phases(conf, env);
                 if (global_out_phase)
                 {
                     axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx);
@@ -206,7 +206,7 @@
     conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
 
     pre_calculated_phases =
-        AXIS2_CONF_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(conf, env);
+         axis2_conf_get_in_phases_upto_and_including_post_dispatch(conf, env);
 
     if ( axis2_msg_ctx_is_paused(msg_ctx, env))
     {
@@ -318,7 +318,7 @@
             axis2_conf_t *conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
             if (conf)
             {
-                axis2_array_list_t *phases = AXIS2_CONF_GET_OUT_FAULT_FLOW(conf, env);
+                axis2_array_list_t *phases =  axis2_conf_get_out_fault_flow(conf, env);
                 if (phases)
                 {
                     axis2_engine_invoke_phases(engine, env, phases, msg_ctx);
@@ -359,7 +359,7 @@
             axis2_conf_t *conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
             if (conf)
             {
-                axis2_array_list_t *phases = AXIS2_CONF_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(conf, env);
+                axis2_array_list_t *phases =  axis2_conf_get_in_phases_upto_and_including_post_dispatch(conf, env);
                 if (phases)
                 {
                     if ( axis2_msg_ctx_is_paused(msg_ctx, env))
@@ -795,7 +795,7 @@
     conf_ctx =  axis2_msg_ctx_get_conf_ctx(msg_ctx, env);
     conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
     phases =
-        AXIS2_CONF_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(conf, env);
+         axis2_conf_get_in_phases_upto_and_including_post_dispatch(conf, env);
 
     axis2_engine_resume_invocation_phases(engine, env, phases, msg_ctx);
     /* invoking the message receiver */

Modified: webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c Mon Mar 19 03:31:58 2007
@@ -117,7 +117,7 @@
                         conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
                         if (conf)
                         {
-                            svc = AXIS2_CONF_GET_SVC(conf, env, url_tokens[0]);
+                            svc = axis2_conf_get_svc(conf, env, url_tokens[0]);
                             if (svc)
                                 AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
                                         "Service found using target endpoint address");

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c Mon Mar 19 03:31:58 2007
@@ -137,7 +137,7 @@
                                                 conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
                                                 if (conf)
                                                 {
-                                                    svc = AXIS2_CONF_GET_SVC(conf, env, url_tokens[0]);
+                                                    svc = axis2_conf_get_svc(conf, env, url_tokens[0]);
                                                     if (svc)
                                                         AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
                                                                 "Service found using SOAP message body's first child's namespace URI");

Modified: webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c (original)
+++ webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c Mon Mar 19 03:31:58 2007
@@ -33,7 +33,7 @@
     phase_holder = (axis2_phase_holder_t *) AXIS2_MALLOC(env->
             allocator, sizeof(axis2_phase_holder_t));
 
-    if (NULL == phase_holder)
+    if (! phase_holder)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;

Modified: webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c (original)
+++ webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c Mon Mar 19 03:31:58 2007
@@ -63,7 +63,7 @@
     phase_resolver = (axis2_phase_resolver_t *) AXIS2_MALLOC(env->allocator,
             sizeof(axis2_phase_resolver_t));
 
-    if (NULL == phase_resolver)
+    if (! phase_resolver)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -210,7 +210,7 @@
 
     /* engage handlers from axis2.xml from modules */
 
-    moduleqnames = AXIS2_CONF_GET_ALL_ENGAGED_MODULES(
+    moduleqnames =  axis2_conf_get_all_engaged_modules(
                 phase_resolver->axis2_config, env);
 
     size = axis2_array_list_size(moduleqnames, env);
@@ -229,7 +229,7 @@
                 i);
         AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "module name is:%s",
                 axis2_qname_get_localpart(modulename, env));
-        module_desc = AXIS2_CONF_GET_MODULE(phase_resolver->axis2_config, env,
+        module_desc =  axis2_conf_get_module(phase_resolver->axis2_config, env,
                 modulename);
         if (module_desc)
         {
@@ -297,7 +297,7 @@
                 metadata = axis2_flow_get_handler(flow, env, j);
                 phase_rule = axis2_handler_desc_get_rules(metadata, env);
                 phase_name = axis2_phase_rule_get_name(phase_rule, env);
-                if (NULL == phase_name)
+                if (! phase_name)
                 {
                     return AXIS2_FAILURE;
                 }
@@ -554,7 +554,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
-    transports_in = AXIS2_CONF_GET_ALL_IN_TRANSPORTS(phase_resolver->axis2_config,
+    transports_in =  axis2_conf_get_all_in_transports(phase_resolver->axis2_config,
             env);
     if (!transports_in)
     {
@@ -563,7 +563,7 @@
         return AXIS2_SUCCESS;
     }
 
-    transports_out = AXIS2_CONF_GET_ALL_OUT_TRANSPORTS(phase_resolver->axis2_config,
+    transports_out =  axis2_conf_get_all_out_transports(phase_resolver->axis2_config,
             env);
     if (!transports_out)
     {
@@ -891,7 +891,7 @@
     {
         return status;
     }
-    svc_grps = AXIS2_CONF_GET_ALL_SVC_GRPS(phase_resolver->axis2_config, env);
+    svc_grps =  axis2_conf_get_all_svc_grps(phase_resolver->axis2_config, env);
     if (!svc_grps)
     {
         return AXIS2_FAILURE;
@@ -1161,7 +1161,7 @@
                 axis2_array_list_t *phase_list = NULL;
 
                 phase_list =
-                    AXIS2_CONF_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(
+                     axis2_conf_get_in_phases_upto_and_including_post_dispatch(
                         phase_resolver->axis2_config, env);
                 phase_holder =
                     axis2_phase_holder_create_with_phases(env, phase_list);
@@ -1172,7 +1172,7 @@
             {
                 axis2_array_list_t *phase_list = NULL;
 
-                phase_list = AXIS2_CONF_GET_OUT_FLOW(phase_resolver->axis2_config,
+                phase_list =  axis2_conf_get_out_flow(phase_resolver->axis2_config,
                         env);
                 phase_holder =
                     axis2_phase_holder_create_with_phases(env, phase_list);
@@ -1183,7 +1183,7 @@
             {
                 axis2_array_list_t *phase_list = NULL;
 
-                phase_list = AXIS2_CONF_GET_IN_FAULT_FLOW(phase_resolver->
+                phase_list =  axis2_conf_get_in_fault_flow(phase_resolver->
                         axis2_config, env);
                 phase_holder =
                     axis2_phase_holder_create_with_phases(env, phase_list);
@@ -1194,7 +1194,7 @@
             {
                 axis2_array_list_t *phase_list = NULL;
 
-                phase_list = AXIS2_CONF_GET_OUT_FAULT_FLOW(phase_resolver->
+                phase_list =  axis2_conf_get_out_fault_flow(phase_resolver->
                         axis2_config, env);
                 phase_holder =
                     axis2_phase_holder_create_with_phases(env, phase_list);
@@ -1470,7 +1470,7 @@
                     axis2_phase_holder_t *phase_holder = NULL;
 
                     phase_list =
-                        AXIS2_CONF_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(
+                         axis2_conf_get_in_phases_upto_and_including_post_dispatch(
                             phase_resolver->axis2_config, env);
                     if (phase_holder)
                     {

Modified: webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c Mon Mar 19 03:31:58 2007
@@ -81,7 +81,7 @@
     msg_recv = (axis2_msg_recv_t *) AXIS2_MALLOC(env->allocator,
             sizeof(axis2_msg_recv_t));
 
-    if (NULL == msg_recv)
+    if (! msg_recv)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -132,7 +132,7 @@
     op_ctx =  axis2_msg_ctx_get_op_ctx(msg_ctx, env);
     svc_ctx =  axis2_op_ctx_get_parent(op_ctx, env);
     svc =  axis2_svc_ctx_get_svc(svc_ctx, env);
-    if (NULL == svc)
+    if (! svc)
     {
         return NULL;
     }
@@ -180,7 +180,7 @@
     op_ctx =  axis2_msg_ctx_get_op_ctx(msg_ctx, env);
     svc_ctx =  axis2_op_ctx_get_parent(op_ctx, env);
     svc =  axis2_svc_ctx_get_svc(svc_ctx, env);
-    if (NULL == svc)
+    if (! svc)
     {
         return NULL;
     }
@@ -239,7 +239,7 @@
     op_ctx =  axis2_msg_ctx_get_op_ctx(msg_ctx, env);
     svc_ctx =  axis2_op_ctx_get_parent(op_ctx, env);
     svc =  axis2_svc_ctx_get_svc(svc_ctx, env);
-    if (NULL == svc)
+    if (! svc)
     {
         return AXIS2_FAILURE;
     }

Modified: webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c Mon Mar 19 03:31:58 2007
@@ -40,7 +40,7 @@
 
     AXIS2_ENV_CHECK(env, NULL);
     msg_recv = axis2_msg_recv_create(env);
-    if (NULL == msg_recv)
+    if (! msg_recv)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;

Modified: webservices/axis2/trunk/c/modules/core/receivers/svr_callback.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/receivers/svr_callback.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/svr_callback.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/svr_callback.c Mon Mar 19 03:31:58 2007
@@ -34,7 +34,7 @@
     svr_callback = (axis2_svr_callback_t *)
             AXIS2_MALLOC(env->allocator, sizeof(axis2_svr_callback_t));
 
-    if (NULL == svr_callback)
+    if (! svr_callback)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/common/http_header.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/common/http_header.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/common/http_header.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/common/http_header.c Mon Mar 19 03:31:58 2007
@@ -42,7 +42,7 @@
             (env->allocator, sizeof(
                         axis2_http_header_t));
 
-    if (NULL == http_header)
+    if (! http_header)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -66,7 +66,7 @@
     AXIS2_ENV_CHECK(env, NULL);
 
     tmp_str = axis2_strdup(str, env);
-    if (NULL == tmp_str)
+    if (! tmp_str)
     {
         return NULL;
     }
@@ -77,7 +77,7 @@
     }
 
     ch = strchr((const char *)tmp_str, ':');
-    if (NULL == ch)
+    if (! ch)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_HEADER,
                 AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/common/http_out_transport_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/common/http_out_transport_info.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/common/http_out_transport_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/common/http_out_transport_info.c Mon Mar 19 03:31:58 2007
@@ -38,7 +38,7 @@
             (env->allocator, sizeof(
                         axis2_http_out_transport_info_t));
 
-    if (NULL == http_out_transport_info)
+    if (! http_out_transport_info)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/common/http_request_line.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/common/http_request_line.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/common/http_request_line.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/common/http_request_line.c Mon Mar 19 03:31:58 2007
@@ -44,7 +44,7 @@
     request_line = (axis2_http_request_line_t *)AXIS2_MALLOC
             (env->allocator, sizeof(axis2_http_request_line_t));
 
-    if (NULL == request_line)
+    if (! request_line)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -99,7 +99,7 @@
     tmp = axis2_strstr(str, AXIS2_HTTP_CRLF);
 
 
-    if (NULL == tmp)
+    if (! tmp)
     {
         AXIS2_ERROR_SET(env->error,
                 AXIS2_ERROR_INVALID_HTTP_HEADER_START_LINE,
@@ -108,7 +108,7 @@
     }
     i = tmp - str;
     req_line = AXIS2_MALLOC(env->allocator, i * sizeof(axis2_char_t) + 1);
-    if (NULL == req_line)
+    if (! req_line)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -119,7 +119,7 @@
 
     method = tmp;
     tmp = strchr(tmp, ' ');
-    if (NULL == tmp)
+    if (! tmp)
     {
         AXIS2_FREE(env->allocator, req_line);
         AXIS2_ERROR_SET(env->error,
@@ -130,7 +130,7 @@
     *tmp++ = '\0';
     uri = tmp;
     tmp = strrchr(tmp, ' ');
-    if (NULL == tmp)
+    if (! tmp)
     {
         AXIS2_FREE(env->allocator, req_line);
         AXIS2_ERROR_SET(env->error,
@@ -191,7 +191,7 @@
 
     ret = AXIS2_MALLOC(env->allocator,
             alloc_len * sizeof(axis2_char_t));
-    if (NULL == ret)
+    if (! ret)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_request.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_request.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_request.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_request.c Mon Mar 19 03:31:58 2007
@@ -46,7 +46,7 @@
             (env->allocator, sizeof(
                         axis2_http_simple_request_t));
 
-    if (NULL == simple_request)
+    if (! simple_request)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -59,7 +59,7 @@
     if (!(simple_request->stream))
     {
         simple_request->stream = axis2_stream_create_basic(env);
-        if (NULL == simple_request->stream)
+        if (! simple_request->stream)
         {
             axis2_http_simple_request_free((axis2_http_simple_request_t *)
                     simple_request, env);
@@ -159,7 +159,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, name, AXIS2_FAILURE);
 
-    if (NULL == simple_request->header_group)
+    if (! simple_request->header_group)
     {
         return AXIS2_FALSE;
     }
@@ -208,7 +208,7 @@
     AXIS2_PARAM_CHECK(env->error, str, NULL);
 
     header_group = simple_request->header_group;
-    if (NULL == simple_request->header_group)
+    if (! simple_request->header_group)
     {
         return NULL;
     }
@@ -253,7 +253,7 @@
 
     header_group = simple_request->header_group;
 
-    if (NULL == header_group)
+    if (! header_group)
     {
         /* Even though we couldn't complete the op, we are sure that the
          * requred header is no more in the request. So we can proceed without a
@@ -289,7 +289,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, header, AXIS2_FAILURE);
 
-    if (NULL == simple_request->header_group)
+    if (! simple_request->header_group)
     {
         simple_request->header_group = axis2_array_list_create(env, 1);
     }
@@ -381,7 +381,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     body = simple_request->stream;
-    if (NULL == body)
+    if (! body)
     {
         *buf = (char*)AXIS2_MALLOC(env->allocator, 1);
         *buf[0] = '\0';
@@ -429,10 +429,10 @@
     AXIS2_PARAM_CHECK(env->error, str, AXIS2_FAILURE);
 
     body_stream = simple_request->stream;
-    if (NULL == body_stream)
+    if (! body_stream)
     {
         body_stream = axis2_stream_create_basic(env);
-        if (NULL == body_stream)
+        if (! body_stream)
         {
             return AXIS2_FAILURE;
         }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_response.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_response.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_response.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/common/http_simple_response.c Mon Mar 19 03:31:58 2007
@@ -44,13 +44,13 @@
     AXIS2_ENV_CHECK(env, NULL);
 
     ret = axis2_http_simple_response_create_default(env);
-    if (NULL == ret)
+    if (! ret)
     {
         return NULL;
     }
     simple_response = ret;
 
-    if (NULL == simple_response)
+    if (! simple_response)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -155,7 +155,7 @@
             tmp_status_line_str);
     AXIS2_FREE(env->allocator, tmp_status_line_str);
 
-    if (NULL == simple_response->status_line)
+    if (! simple_response->status_line)
     {
         return AXIS2_FAILURE;
     }
@@ -239,7 +239,7 @@
     AXIS2_PARAM_CHECK(env->error, str, NULL);
 
     header_group = simple_response->header_group;
-    if (NULL == simple_response->header_group)
+    if (! simple_response->header_group)
     {
         return NULL;
     }
@@ -281,7 +281,7 @@
     AXIS2_PARAM_CHECK(env->error, str, AXIS2_FAILURE);
 
     header_group = simple_response->header_group;
-    if (NULL == header_group)
+    if (! header_group)
     {
         /* Even though we couldn't complete the op, we are sure that the
          * requred header is no more in the request. So we can proceed without a
@@ -323,7 +323,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, header, AXIS2_FAILURE);
 
-    if (NULL == simple_response->header_group)
+    if (! simple_response->header_group)
     {
         simple_response->header_group = axis2_array_list_create(env, 10);
         axis2_array_list_add(simple_response->header_group, env, header);
@@ -424,10 +424,10 @@
     AXIS2_PARAM_CHECK(env->error, str, AXIS2_FAILURE);
 
     body_stream = simple_response->stream;
-    if (NULL == body_stream)
+    if (! body_stream)
     {
         body_stream = axis2_stream_create_basic(env);
-        if (NULL == body_stream)
+        if (! body_stream)
         {
             return AXIS2_FAILURE;
         }
@@ -472,7 +472,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
-    if (NULL == simple_response->stream)
+    if (! simple_response->stream)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_BODY, AXIS2_FAILURE);
         return -1;
@@ -520,7 +520,7 @@
 
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, name, AXIS2_FAILURE);
-    if (NULL == simple_response->header_group)
+    if (! simple_response->header_group)
     {
         return AXIS2_FALSE;
     }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/common/http_status_line.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/common/http_status_line.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/common/http_status_line.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/common/http_status_line.c Mon Mar 19 03:31:58 2007
@@ -48,7 +48,7 @@
             (env->allocator, sizeof(
                         axis2_http_status_line_t));
 
-    if (NULL == status_line)
+    if (! status_line)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -60,7 +60,7 @@
     status_line->status_code = NULL;
 
     tmp = strstr(str, AXIS2_HTTP_CRLF);
-    if (NULL == tmp)
+    if (! tmp)
     {
         axis2_http_status_line_free((axis2_http_status_line_t *)
                 status_line, env);
@@ -72,7 +72,7 @@
     i = tmp - str;
     tmp_status_line = AXIS2_MALLOC(env->allocator,
             i * sizeof(axis2_char_t) + 1);
-    if (NULL == tmp_status_line)
+    if (! tmp_status_line)
     {
         axis2_http_status_line_free((axis2_http_status_line_t *)
                 status_line, env);
@@ -85,7 +85,7 @@
 
     http_version = tmp;
     tmp = strchr(tmp, ' ');
-    if (NULL == tmp)
+    if (! tmp)
     {
         AXIS2_FREE(env->allocator, tmp_status_line);
         axis2_http_status_line_free((axis2_http_status_line_t *)
@@ -98,7 +98,7 @@
     *tmp++ = '\0';
     status_code = tmp;
     tmp = strchr(tmp, ' ');
-    if (NULL == tmp)
+    if (! tmp)
     {
         AXIS2_FREE(env->allocator, tmp_status_line);
         axis2_http_status_line_free((axis2_http_status_line_t *)
@@ -117,8 +117,8 @@
     status_line->reason_phrase = (axis2_char_t *)
             axis2_strdup(reason_phrase, env);
 
-    if (NULL == status_line->http_version ||
-            NULL == status_line->reason_phrase)
+    if (! status_line->http_version ||
+            ! status_line->reason_phrase)
     {
         AXIS2_FREE(env->allocator, tmp_status_line);
         axis2_http_status_line_free((axis2_http_status_line_t *)

Modified: webservices/axis2/trunk/c/modules/core/transport/http/common/http_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/common/http_worker.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/common/http_worker.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/common/http_worker.c Mon Mar 19 03:31:58 2007
@@ -69,7 +69,7 @@
     http_worker = (axis2_http_worker_t *)
             AXIS2_MALLOC(env->allocator, sizeof(axis2_http_worker_t));
 
-    if (NULL == http_worker)
+    if (! http_worker)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -131,7 +131,7 @@
 
     conf_ctx = http_worker->conf_ctx;
 
-    if (NULL == conf_ctx)
+    if (! conf_ctx)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_CONFIGURATION_CONTEXT,
                 AXIS2_FAILURE);
@@ -143,7 +143,7 @@
     http_version = AXIS2_HTTP_REQUEST_LINE_GET_HTTP_VERSION
             (AXIS2_HTTP_SIMPLE_REQUEST_GET_REQUEST_LINE
                     (simple_request, env), env);
-    if (NULL == http_version)
+    if (! http_version)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_HTTP_VERSION,
                 AXIS2_FAILURE);
@@ -180,10 +180,10 @@
     }
     request_body = AXIS2_HTTP_SIMPLE_REQUEST_GET_BODY(simple_request, env);
 
-    out_desc = AXIS2_CONF_GET_TRANSPORT_OUT( axis2_conf_ctx_get_conf
+    out_desc =  axis2_conf_get_transport_out( axis2_conf_ctx_get_conf
             (http_worker->conf_ctx, env), env,
             AXIS2_TRANSPORT_ENUM_HTTP);
-    in_desc = AXIS2_CONF_GET_TRANSPORT_IN( axis2_conf_ctx_get_conf
+    in_desc =  axis2_conf_get_transport_in( axis2_conf_ctx_get_conf
             (http_worker->conf_ctx, env), env,
             AXIS2_TRANSPORT_ENUM_HTTP);
     msg_ctx = axis2_msg_ctx_create(env, conf_ctx, in_desc, out_desc);
@@ -289,7 +289,7 @@
             axis2_http_request_line_t *req_line = NULL;
             axis2_http_status_line_t *tmp_stat_line = NULL;
             axis2_char_t status_line_str[100];
-            if (NULL == engine)
+            if (! engine)
             {
                 return AXIS2_FALSE;
             }
@@ -512,7 +512,7 @@
     AXIS2_PARAM_CHECK(env->error, request, AXIS2_FAILURE);
 
     header_list = AXIS2_HTTP_SIMPLE_REQUEST_GET_HEADERS(request, env);
-    if (NULL == header_list)
+    if (! header_list)
     {
         return NULL;
     }
@@ -526,14 +526,14 @@
     {
         axis2_http_header_t *tmp_hdr = NULL;
         tmp_hdr = axis2_array_list_get(header_list, env, i);
-        if (NULL == tmp_hdr)
+        if (! tmp_hdr)
         {
             continue;
         }
-        if (NULL == header_map)
+        if (! header_map)
         {
             header_map = axis2_hash_make(env);
-            if (NULL == header_map)
+            if (! header_map)
             {
                 return NULL;
             }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_receiver.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_receiver.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_receiver.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_receiver.c Mon Mar 19 03:31:58 2007
@@ -97,7 +97,7 @@
     server_impl = (axis2_http_server_impl_t *)AXIS2_MALLOC
             (env->allocator, sizeof(axis2_http_server_impl_t));
 
-    if (NULL == server_impl)
+    if (! server_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -110,7 +110,7 @@
 
     server_impl->http_server.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_transport_receiver_ops_t));
-    if (NULL == server_impl->http_server.ops)
+    if (! server_impl->http_server.ops)
     {
         axis2_http_server_free((axis2_transport_receiver_t *) server_impl, env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -125,7 +125,7 @@
          * may lead to double free
          */
         server_impl->conf_ctx_private = axis2_build_conf_ctx(env, repo);
-        if (NULL == server_impl->conf_ctx_private)
+        if (! server_impl->conf_ctx_private)
         {
             axis2_http_server_free((axis2_transport_receiver_t *) server_impl, env);
             return NULL;
@@ -221,13 +221,13 @@
     server_impl = AXIS2_INTF_TO_IMPL(server);
     server_impl->svr_thread = axis2_http_svr_thread_create(env,
             server_impl->port);
-    if (NULL == server_impl->svr_thread)
+    if (! server_impl->svr_thread)
     {
         return AXIS2_FAILURE;
     }
     worker = axis2_http_worker_create(env, server_impl->conf_ctx);
     AXIS2_HTTP_WORKER_SET_SVR_PORT(worker, env, server_impl->port);
-    if (NULL == worker)
+    if (! worker)
     {
         AXIS2_HTTP_SVR_THREAD_FREE(server_impl->svr_thread, env);
         return AXIS2_FAILURE;
@@ -284,7 +284,7 @@
     url = axis2_url_create(env, "http", host_address,
             AXIS2_INTF_TO_IMPL(server)->port, svc_path);
     AXIS2_FREE(env->allocator, svc_path);
-    if (NULL == url)
+    if (! url)
     {
         return NULL;
     }
@@ -301,7 +301,7 @@
     axis2_http_server_impl_t *server_impl = NULL;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     server_impl = AXIS2_INTF_TO_IMPL(server);
-    if (NULL == server_impl->svr_thread)
+    if (! server_impl->svr_thread)
     {
         return AXIS2_FALSE;
     }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_response_writer.c Mon Mar 19 03:31:58 2007
@@ -121,7 +121,7 @@
             (env->allocator, sizeof(
                         axis2_http_response_writer_impl_t));
 
-    if (NULL == response_writer_impl)
+    if (! response_writer_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -131,7 +131,7 @@
 
     response_writer_impl->response_writer.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_http_response_writer_ops_t));
-    if (NULL == response_writer_impl->response_writer.ops)
+    if (! response_writer_impl->response_writer.ops)
     {
         axis2_http_response_writer_free((axis2_http_response_writer_t *)
                 response_writer_impl, env);
@@ -225,7 +225,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
     writer_impl = AXIS2_INTF_TO_IMPL(response_writer);
-    if (NULL == writer_impl->stream)
+    if (! writer_impl->stream)
     {
         return AXIS2_FAILURE;
     }
@@ -252,7 +252,7 @@
     AXIS2_PARAM_CHECK(env->error, buf, AXIS2_FAILURE);
 
     writer_impl = AXIS2_INTF_TO_IMPL(response_writer);
-    if (NULL == writer_impl->stream)
+    if (! writer_impl->stream)
     {
         return AXIS2_FAILURE;
     }
@@ -283,7 +283,7 @@
     writer_impl = AXIS2_INTF_TO_IMPL(response_writer);
 
     len = axis2_strlen(str);
-    if (NULL == writer_impl->stream)
+    if (! writer_impl->stream)
     {
         return AXIS2_FAILURE;
     }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c Mon Mar 19 03:31:58 2007
@@ -114,7 +114,7 @@
             (env->allocator, sizeof(
                         axis2_http_svr_thread_impl_t));
 
-    if (NULL == svr_thread_impl)
+    if (! svr_thread_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -134,7 +134,7 @@
     }
     svr_thread_impl->svr_thread.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_http_svr_thread_ops_t));
-    if (NULL == svr_thread_impl->svr_thread.ops)
+    if (! svr_thread_impl->svr_thread.ops)
     {
         axis2_http_svr_thread_free((axis2_http_svr_thread_t *) svr_thread_impl,
                 env);
@@ -203,7 +203,7 @@
 
         socket = axis2_network_handler_svr_socket_accept(env,
                 svr_thread_impl->listen_socket);
-        if (NULL == svr_thread_impl->worker)
+        if (! svr_thread_impl->worker)
         {
             AXIS2_LOG_WARNING(env->log, AXIS2_LOG_SI, "Worker not ready yet."
                     " Cannot serve the request");
@@ -212,7 +212,7 @@
         }
         arg_list = AXIS2_MALLOC(env->allocator,
                 sizeof(axis2_http_svr_thd_args_t));
-        if (NULL == arg_list)
+        if (! arg_list)
         {
             AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
                     "Memory allocation error in the svr thread loop");
@@ -224,7 +224,7 @@
 #ifdef AXIS2_SVR_MULTI_THREADED
         worker_thread = AXIS2_THREAD_POOL_GET_THREAD(env->thread_pool,
                 axis2_svr_thread_worker_func, (void *)arg_list);
-        if (NULL == worker_thread)
+        if (! worker_thread)
         {
             AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Thread creation failed"
                     "server thread loop");
@@ -322,7 +322,7 @@
 #endif
 
     arg_list = (axis2_http_svr_thd_args_t *)data;
-    if (NULL == arg_list)
+    if (! arg_list)
     {
         return NULL;
     }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/simple_http_svr_conn.c Mon Mar 19 03:31:58 2007
@@ -125,7 +125,7 @@
             AXIS2_MALLOC(env->allocator,
                     sizeof(axis2_simple_http_svr_conn_impl_t));
 
-    if (NULL == svr_conn_impl)
+    if (! svr_conn_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -138,7 +138,7 @@
     {
         svr_conn_impl->stream = axis2_stream_create_socket(env,
                 svr_conn_impl->socket);
-        if (NULL == svr_conn_impl->stream)
+        if (! svr_conn_impl->stream)
         {
             axis2_simple_http_svr_conn_free((axis2_simple_http_svr_conn_t *)
                     svr_conn_impl, env);
@@ -147,7 +147,7 @@
     }
     svr_conn_impl->svr_conn.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_simple_http_svr_conn_ops_t));
-    if (NULL == svr_conn_impl->svr_conn.ops)
+    if (! svr_conn_impl->svr_conn.ops)
     {
         axis2_simple_http_svr_conn_free((axis2_simple_http_svr_conn_t *)
                 svr_conn_impl, env);
@@ -364,7 +364,7 @@
         }
     }
     request_line = axis2_http_request_line_parse_line(env, str_line);
-    if (NULL == request_line)
+    if (! request_line)
     {
         AXIS2_ERROR_SET(env->error,
                 AXIS2_ERROR_INVALID_HTTP_HEADER_START_LINE,
@@ -479,7 +479,7 @@
                 && strstr(content_type, AXIS2_HTTP_HEADER_XOP_XML))
             binary_content = AXIS2_TRUE;
     }
-    if (NULL == response_writer)
+    if (! response_writer)
     {
         return AXIS2_FAILURE;
     }
@@ -505,7 +505,7 @@
         }
     }
     status_line = AXIS2_HTTP_SIMPLE_RESPONSE_GET_STATUS_LINE(response, env);
-    if (NULL == status_line)
+    if (! status_line)
     {
         AXIS2_ERROR_SET(env->error,
                 AXIS2_ERROR_INVALID_HTTP_HEADER_START_LINE,

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_client.c Mon Mar 19 03:31:58 2007
@@ -172,7 +172,7 @@
     http_client_impl = (axis2_http_client_impl_t *)AXIS2_MALLOC
             (env->allocator, sizeof(axis2_http_client_impl_t));
 
-    if (NULL == http_client_impl)
+    if (! http_client_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -194,7 +194,7 @@
 
     http_client_impl->http_client.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_http_client_ops_t));
-    if (NULL == http_client_impl->http_client.ops)
+    if (! http_client_impl->http_client.ops)
     {
         axis2_http_client_free((axis2_http_client_t *) http_client_impl, env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -307,14 +307,14 @@
         return AXIS2_SUCCESS;
     }
 
-    if (NULL == client_impl->url)
+    if (! client_impl->url)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_URL, AXIS2_FAILURE);
         return AXIS2_FAILURE;
     }
     if (AXIS2_TRUE == client_impl->proxy_enabled)
     {
-        if (NULL == client_impl->proxy_host || client_impl->proxy_port <= 0)
+        if (! client_impl->proxy_host || client_impl->proxy_port <= 0)
         {
             return AXIS2_FAILURE;
         }
@@ -377,7 +377,7 @@
                 client_impl->sockfd);
     }
 
-    if (NULL == client_impl->data_stream)
+    if (! client_impl->data_stream)
     {
         axis2_network_handler_close_socket(env, client_impl->sockfd);
         return AXIS2_FAILURE;
@@ -394,7 +394,7 @@
             axis2_char_t *header_ext_form = NULL;
             axis2_http_header_t *tmp_header = (axis2_http_header_t *)
                     axis2_array_list_get(headers, env, i);
-            if (NULL == tmp_header)
+            if (! tmp_header)
             {
                 continue;
             }
@@ -438,7 +438,7 @@
         /* length = len(server) + len(:port) + len("http://") + len(path) + 1*/
         host_port_str = AXIS2_MALLOC(env->allocator, axis2_strlen(server) +
                 + axis2_strlen(path) +  20 * sizeof(axis2_char_t));
-        if (NULL == host_port_str)
+        if (! host_port_str)
         {
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
@@ -488,7 +488,7 @@
             chunked_stream = axis2_http_chunked_stream_create(env,
                     client_impl->data_stream);
             status = AXIS2_SUCCESS;
-            if (NULL == chunked_stream)
+            if (! chunked_stream)
             {
                 AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Creatoin of chunked"
                         "stream failed");
@@ -541,7 +541,7 @@
     AXIS2_ENV_CHECK(env, AXIS2_CRITICAL_FAILURE);
 
     client_impl = AXIS2_INTF_TO_IMPL(client);
-    if (-1 == client_impl->sockfd || NULL == client_impl->data_stream ||
+    if (-1 == client_impl->sockfd || ! client_impl->data_stream ||
             AXIS2_FALSE == client_impl->request_sent)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_HTTP_REQUEST_NOT_SENT,
@@ -580,7 +580,7 @@
 			return 0;
 		}
         status_line = axis2_http_status_line_create(env, str_status_line);
-        if (NULL == status_line)
+        if (! status_line)
         {
             AXIS2_ERROR_SET(env->error,
                     AXIS2_ERROR_INVALID_HTTP_HEADER_START_LINE,
@@ -745,7 +745,7 @@
         client_impl->proxy_host_port = NULL;
     }
     client_impl->proxy_host = axis2_strdup(proxy_host, env);
-    if (NULL == client_impl->proxy_host)
+    if (! client_impl->proxy_host)
     {
         return AXIS2_FAILURE;
     }
@@ -792,7 +792,7 @@
     }
 
     tmp_stream = axis2_stream_create_socket(env, client_impl->sockfd);
-    if (NULL == tmp_stream)
+    if (! tmp_stream)
     {
         return AXIS2_FAILURE;
     }
@@ -822,7 +822,7 @@
         return AXIS2_FAILURE;
     }
     status_line = axis2_http_status_line_create(env, str_status_line);
-    if (NULL == status_line)
+    if (! status_line)
     {
         AXIS2_ERROR_SET(env->error,
                 AXIS2_ERROR_INVALID_HTTP_HEADER_START_LINE,

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_sender.c Mon Mar 19 03:31:58 2007
@@ -167,7 +167,7 @@
 		(env->allocator, sizeof(
 			axis2_http_sender_impl_t));
 
-    if (NULL == sender_impl)
+    if (! sender_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -184,7 +184,7 @@
     sender_impl->client = NULL;
     sender_impl->sender.ops = AXIS2_MALLOC(env->allocator,
 										   sizeof(axis2_http_sender_ops_t));
-    if (NULL == sender_impl->sender.ops)
+    if (! sender_impl->sender.ops)
     {
         axis2_http_sender_free((axis2_http_sender_t *)
 							   sender_impl, env);
@@ -289,7 +289,7 @@
 
 	if (!is_soap)
 	{
-        if (NULL == soap_body)
+        if (! soap_body)
         {
             AXIS2_ERROR_SET(env->error,
 							AXIS2_ERROR_SOAP_ENVELOPE_OR_SOAP_BODY_NULL,
@@ -299,7 +299,7 @@
             return AXIS2_FAILURE;
         }
         body_node = AXIOM_SOAP_BODY_GET_BASE_NODE(soap_body, env);
-        if (NULL == body_node)
+        if (! body_node)
         {
             return AXIS2_FAILURE;
         }
@@ -317,7 +317,7 @@
 		}
 	}
 
-    if (NULL == url)
+    if (! url)
     {
         return AXIS2_FAILURE;
     }
@@ -329,7 +329,7 @@
     }
 
     sender_impl->client = axis2_http_client_create(env, url);
-    if (NULL == sender_impl->client)
+    if (! sender_impl->client)
     {
         return AXIS2_FAILURE;
     }
@@ -355,7 +355,7 @@
 
 		doing_mtom =  axis2_msg_ctx_get_doing_mtom(msg_ctx, env);
 
-		if (NULL == sender_impl->om_output)
+		if (! sender_impl->om_output)
 		{
 			AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_OM_OUTPUT,
 							AXIS2_FAILURE);
@@ -407,7 +407,7 @@
 			buffer = AXIOM_XML_WRITER_GET_XML(xml_writer, env);
 		}
 
-		if (NULL == buffer && !doing_mtom)
+		if (! buffer && !doing_mtom)
 		{
 			AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL xml returned"
 							"from xml writer");
@@ -804,7 +804,7 @@
     {
         int tmp_len = 0;
         content_length = AXIS2_MALLOC(env->allocator, sizeof(int));
-        if (NULL == content_length)
+        if (! content_length)
         {
             return AXIS2_FAILURE;
         }
@@ -835,7 +835,7 @@
     AXIS2_PARAM_CHECK(env->error, response, AXIS2_FAILURE);
 
     in_stream = AXIS2_HTTP_SIMPLE_RESPONSE_GET_BODY(response, env);
-    if (NULL == in_stream)
+    if (! in_stream)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_STREAM_IN_RESPONSE_BODY,
 						AXIS2_FAILURE);
@@ -902,7 +902,7 @@
 {
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_INTF_TO_IMPL(sender)->http_version =  axis2_strdup(version, env);
-    if (NULL == AXIS2_INTF_TO_IMPL(sender)->http_version)
+    if (! AXIS2_INTF_TO_IMPL(sender)->http_version)
     {
         return AXIS2_FAILURE;
     }
@@ -927,18 +927,18 @@
 
     sender_impl = AXIS2_INTF_TO_IMPL(sender);
     conf_ctx =  axis2_msg_ctx_get_conf_ctx(msg_ctx, env);
-    if (NULL == conf_ctx)
+    if (! conf_ctx)
     {
         return AXIS2_FAILURE;
     }
     conf =  axis2_conf_ctx_get_conf(conf_ctx, env);
-    if (NULL == conf)
+    if (! conf)
     {
         return AXIS2_FAILURE;
     }
     
-    trans_desc = AXIS2_CONF_GET_TRANSPORT_OUT(conf, env, AXIS2_TRANSPORT_ENUM_HTTP);
-    if (NULL == trans_desc)
+    trans_desc =  axis2_conf_get_transport_out(conf, env, AXIS2_TRANSPORT_ENUM_HTTP);
+    if (! trans_desc)
     {
         return AXIS2_FAILURE;
     }
@@ -959,18 +959,18 @@
 
             obj = axis2_hash_get(transport_attrs, AXIS2_PROXY_HOST_NAME,
 								 AXIS2_HASH_KEY_STRING);
-            if (NULL == obj)
+            if (! obj)
             {
                 return AXIS2_FAILURE;
             }
             host_attr = (axiom_attribute_t *) axis2_generic_obj_get_value(obj,
 																		 env);
-            if (NULL == host_attr)
+            if (! host_attr)
             {
                 return AXIS2_FAILURE;
             }
             proxy_host = axiom_attribute_get_value(host_attr, env);
-            if (NULL == proxy_host)
+            if (! proxy_host)
             {
                 return AXIS2_FAILURE;
             }
@@ -981,12 +981,12 @@
 								 AXIS2_HASH_KEY_STRING);
             port_attr = (axiom_attribute_t*) axis2_generic_obj_get_value(obj,
 																		env);
-            if (NULL == port_attr)
+            if (! port_attr)
             {
                 return AXIS2_FAILURE;
             }
             proxy_port = axiom_attribute_get_value(port_attr, env);
-            if (NULL == proxy_port)
+            if (! proxy_port)
             {
                 return AXIS2_FAILURE;
             }
@@ -1122,14 +1122,14 @@
     AXIS2_PARAM_CHECK(env->error, msg_ctx, NULL);
 
     soap_env =  axis2_msg_ctx_get_soap_envelope(msg_ctx, env);
-    if (NULL == soap_env)
+    if (! soap_env)
     {
         return NULL;
     }
     body_node = AXIOM_SOAP_BODY_GET_BASE_NODE(
 		AXIOM_SOAP_ENVELOPE_GET_BODY(soap_env, env), env);
     data_node = AXIOM_NODE_GET_FIRST_CHILD(body_node, env);
-    if (NULL == data_node)
+    if (! data_node)
     {
         return NULL;
     }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c Mon Mar 19 03:31:58 2007
@@ -97,7 +97,7 @@
             (env->allocator, sizeof(
                         axis2_http_transport_sender_impl_t));
 
-    if (NULL == transport_sender_impl)
+    if (! transport_sender_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -110,7 +110,7 @@
     transport_sender_impl->so_timeout = AXIS2_HTTP_DEFAULT_SO_TIMEOUT;
     transport_sender_impl->transport_sender.ops = AXIS2_MALLOC(env->allocator
             , sizeof(axis2_transport_sender_ops_t));
-    if (NULL == transport_sender_impl->transport_sender.ops)
+    if (! transport_sender_impl->transport_sender.ops)
     {
         axis2_http_transport_sender_free((axis2_transport_sender_t *)
                 transport_sender_impl, env);
@@ -212,7 +212,7 @@
      * If we still can't find the char set enc we will
      * use default
      */
-    if (NULL == char_set_enc)
+    if (! char_set_enc)
     {
         char_set_enc = AXIS2_DEFAULT_CHAR_SET_ENCODING;
     }
@@ -244,7 +244,7 @@
     }
 
     soap_data_out =  axis2_msg_ctx_get_soap_envelope(msg_ctx, env);
-    if (NULL == soap_data_out)
+    if (! soap_data_out)
     {
         AXIS2_ERROR_SET(env->error,
                 AXIS2_ERROR_NULL_SOAP_ENVELOPE_IN_MSG_CTX,
@@ -256,12 +256,12 @@
     }
     xml_writer = axiom_xml_writer_create_for_memory(env, NULL,
             AXIS2_TRUE, 0, AXIS2_XML_PARSER_TYPE_BUFFER);
-    if (NULL == xml_writer)
+    if (! xml_writer)
     {
         return AXIS2_FAILURE;
     }
     om_output = axiom_output_create(env, xml_writer);
-    if (NULL == om_output)
+    if (! om_output)
     {
         AXIOM_XML_WRITER_FREE(xml_writer, env);
         xml_writer = NULL;
@@ -295,7 +295,7 @@
 
             out_info = axis2_msg_ctx_get_http_out_transport_info(msg_ctx, env);
 
-            if (NULL == out_info)
+            if (! out_info)
             {
                 AXIS2_ERROR_SET(env->error,
                         AXIS2_ERROR_OUT_TRNSPORT_INFO_NULL, AXIS2_FAILURE);
@@ -332,7 +332,7 @@
                 axiom_soap_body_t *soap_body = AXIOM_SOAP_ENVELOPE_GET_BODY(
                             soap_data_out, env);
 
-                if (NULL == soap_body)
+                if (! soap_body)
                 {
                     AXIS2_ERROR_SET(env->error,
                             AXIS2_ERROR_SOAP_ENVELOPE_OR_SOAP_BODY_NULL,
@@ -345,7 +345,7 @@
                     return AXIS2_FAILURE;
                 }
                 body_node = AXIOM_SOAP_BODY_GET_BASE_NODE(soap_body, env);
-                if (NULL == body_node)
+                if (! body_node)
                 {
                     axiom_output_free(om_output, env);
                     om_output = NULL;
@@ -353,7 +353,7 @@
                     return AXIS2_FAILURE;
                 }
                 data_out = AXIOM_NODE_GET_FIRST_ELEMENT(body_node, env);
-                if (NULL == data_out || AXIOM_NODE_GET_NODE_TYPE(data_out, env)
+                if (! data_out || AXIOM_NODE_GET_NODE_TYPE(data_out, env)
                         != AXIOM_ELEMENT)
                 {
                     axiom_output_free(om_output, env);
@@ -559,14 +559,14 @@
     
     soap_action = axis2_string_get_buffer( axis2_msg_ctx_get_soap_action(msg_ctx, env), env);
     
-    if (NULL == soap_action)
+    if (! soap_action)
     {
         soap_action = "";
     }
 
 	sender = axis2_http_sender_create(env);
 
-	if (NULL == sender)
+	if (! sender)
 	{
 		return AXIS2_FAILURE;
 	}

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/axis2_libcurl.c Mon Mar 19 03:31:58 2007
@@ -101,7 +101,7 @@
 	if (!is_soap)
 	{
 		soap_body = AXIOM_SOAP_ENVELOPE_GET_BODY(out, env);
-        if (NULL == soap_body)
+        if (! soap_body)
         {
             AXIS2_ERROR_SET(env->error,
 							AXIS2_ERROR_SOAP_ENVELOPE_OR_SOAP_BODY_NULL,
@@ -111,7 +111,7 @@
             return AXIS2_FAILURE;
         }
         body_node = AXIOM_SOAP_BODY_GET_BASE_NODE(soap_body, env);
-        if (NULL == body_node)
+        if (! body_node)
         {
             return AXIS2_FAILURE;
         }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/libcurl_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/libcurl_stream.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/libcurl_stream.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/libcurl/libcurl_stream.c Mon Mar 19 03:31:58 2007
@@ -66,7 +66,7 @@
     stream_impl = (libcurl_stream_impl_t *)AXIS2_MALLOC(
                 env->allocator, sizeof(libcurl_stream_impl_t));
 
-    if (NULL == stream_impl)
+    if (! stream_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -78,7 +78,7 @@
     stream_impl->stream_type = AXIS2_STREAM_MANAGED;
     stream_impl->stream.ops = (axis2_stream_ops_t *) AXIS2_MALLOC(
                 env->allocator, sizeof(axis2_stream_ops_t));
-    if (NULL == stream_impl->stream.ops)
+    if (! stream_impl->stream.ops)
     {
         libcurl_stream_free(&(stream_impl->stream), env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_stream.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_stream.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_stream.c Mon Mar 19 03:31:58 2007
@@ -96,7 +96,7 @@
     stream_impl = (ssl_stream_impl_t *)AXIS2_MALLOC(
                 env->allocator, sizeof(ssl_stream_impl_t));
 
-    if (NULL == stream_impl)
+    if (! stream_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -108,7 +108,7 @@
 
     stream_impl->ctx = axis2_ssl_utils_initialize_ctx(env, server_cert,
             key_file, ssl_pp);
-    if (NULL == stream_impl->ctx)
+    if (! stream_impl->ctx)
     {
         axis2_ssl_stream_free((axis2_stream_t*)stream_impl, env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SSL_ENGINE, AXIS2_FAILURE);
@@ -116,7 +116,7 @@
     }
     stream_impl->ssl = axis2_ssl_utils_initialize_ssl(env, stream_impl->ctx,
             stream_impl->socket);
-    if (NULL == stream_impl->ssl)
+    if (! stream_impl->ssl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SSL_ENGINE, AXIS2_FAILURE);
         return NULL;
@@ -124,7 +124,7 @@
     stream_impl->stream_type = AXIS2_STREAM_MANAGED;
     stream_impl->stream.ops = (axis2_stream_ops_t *) AXIS2_MALLOC(
                 env->allocator, sizeof(axis2_stream_ops_t));
-    if (NULL == stream_impl->stream.ops)
+    if (! stream_impl->stream.ops)
     {
         axis2_ssl_stream_free(&(stream_impl->stream), env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/ssl/ssl_utils.c Mon Mar 19 03:31:58 2007
@@ -57,7 +57,7 @@
     /*printf("key_file: %s\n", key_file);
     printf("ca_file: %s\n", server_cert);*/
 
-    if (NULL == ca_file)
+    if (! ca_file)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SSL_NO_CA_FILE,
                 AXIS2_FAILURE);
@@ -131,12 +131,12 @@
     AXIS2_PARAM_CHECK(env->error, ctx, NULL);
 
     ssl = SSL_new(ctx);
-    if (NULL == ssl)
+    if (! ssl)
     {
         return NULL;
     }
     sbio = BIO_new_socket(socket, BIO_NOCLOSE);
-    if (NULL == sbio)
+    if (! sbio)
     {
         return NULL;
     }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_out_transport_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_out_transport_info.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_out_transport_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_out_transport_info.c Mon Mar 19 03:31:58 2007
@@ -70,7 +70,7 @@
             (env->allocator, sizeof(
                         axis2_iis_out_transport_info_impl_t));
 
-    if (NULL == info_impl)
+    if (! info_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -78,7 +78,7 @@
     info_impl->encoding = NULL;	
     info_impl->out_transport_info.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_http_out_transport_info_ops_t));
-    if (NULL == info_impl->out_transport_info.ops)
+    if (! info_impl->out_transport_info.ops)
     {
         axis2_http_out_transport_info_free((axis2_http_out_transport_info_t *)
                 info_impl, env);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_stream.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_stream.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_stream.c Mon Mar 19 03:31:58 2007
@@ -86,7 +86,7 @@
     stream_impl = (iis_stream_impl_t *)AXIS2_MALLOC(
                 env->allocator, sizeof(iis_stream_impl_t));
 
-    if (NULL == stream_impl)
+    if (! stream_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -97,7 +97,7 @@
     stream_impl->stream_type = AXIS2_STREAM_MANAGED;
     stream_impl->stream.ops = (axis2_stream_ops_t *) AXIS2_MALLOC(
                 env->allocator, sizeof(axis2_stream_ops_t));
-    if (NULL == stream_impl->stream.ops)
+    if (! stream_impl->stream.ops)
     {
         iis_stream_free(&(stream_impl->stream), env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_worker.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_worker.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/IIS/axis2_iis_worker.c Mon Mar 19 03:31:58 2007
@@ -95,7 +95,7 @@
     iis_worker_impl = (axis2_iis_worker_impl_t *)
             AXIS2_MALLOC(env->allocator, sizeof(axis2_iis_worker_impl_t));
 
-    if (NULL == iis_worker_impl)
+    if (! iis_worker_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -103,7 +103,7 @@
     iis_worker_impl->iis_worker.ops = NULL;
     iis_worker_impl->conf_ctx = axis2_build_conf_ctx(env, repo_path);
 
-    if (NULL == iis_worker_impl->conf_ctx)
+    if (! iis_worker_impl->conf_ctx)
     {
         axis2_iis_worker_free((axis2_iis_worker_t *)iis_worker_impl,
                 env);
@@ -112,7 +112,7 @@
     iis_worker_impl->iis_worker.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_iis_worker_ops_t));
 
-    if (NULL == iis_worker_impl->iis_worker.ops)
+    if (! iis_worker_impl->iis_worker.ops)
     {
         axis2_iis_worker_free((axis2_iis_worker_t *)iis_worker_impl,
                 env);
@@ -203,7 +203,7 @@
 	iis_worker_impl = AXIS2_INTF_TO_IMPL(iis_worker);
 	conf_ctx = iis_worker_impl->conf_ctx;	
 
-	if (NULL == conf_ctx)
+	if (! conf_ctx)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_CONFIGURATION_CONTEXT,
                 AXIS2_FAILURE);
@@ -229,10 +229,10 @@
 
     out_stream = axis2_stream_create_basic(env);	
  
-    out_desc = AXIS2_CONF_GET_TRANSPORT_OUT( axis2_conf_ctx_get_conf
+    out_desc =  axis2_conf_get_transport_out( axis2_conf_ctx_get_conf
             (iis_worker_impl->conf_ctx, env), env,
             AXIS2_TRANSPORT_ENUM_HTTP);
-    in_desc = AXIS2_CONF_GET_TRANSPORT_IN( axis2_conf_ctx_get_conf
+    in_desc =  axis2_conf_get_transport_in( axis2_conf_ctx_get_conf
             (iis_worker_impl->conf_ctx, env), env,
             AXIS2_TRANSPORT_ENUM_HTTP);
 
@@ -259,7 +259,7 @@
 	}
 	request_body = axis2_stream_create_iis(env, lpECB);
 
-	if (NULL == request_body)
+	if (! request_body)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error occured in"
                 " creating input stream.");
@@ -305,7 +305,7 @@
         {
             axis2_msg_ctx_t *fault_ctx = NULL;
             axis2_engine_t *engine = axis2_engine_create(env, conf_ctx);
-            if (NULL == engine)
+            if (! engine)
             {
                 send_status =  HTTP_INTERNAL_SERVER_ERROR;
             }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_out_transport_info.c Mon Mar 19 03:31:58 2007
@@ -70,7 +70,7 @@
             (env->allocator, sizeof(
                         axis2_apache2_out_transport_info_impl_t));
 
-    if (NULL == info_impl)
+    if (! info_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -80,7 +80,7 @@
 
     info_impl->out_transport_info.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_http_out_transport_info_ops_t));
-    if (NULL == info_impl->out_transport_info.ops)
+    if (! info_impl->out_transport_info.ops)
     {
         axis2_http_out_transport_info_free((axis2_http_out_transport_info_t *)
                 info_impl, env);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_stream.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_stream.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_stream.c Mon Mar 19 03:31:58 2007
@@ -87,7 +87,7 @@
     stream_impl = (apache2_stream_impl_t *)AXIS2_MALLOC(
                 env->allocator, sizeof(apache2_stream_impl_t));
 
-    if (NULL == stream_impl)
+    if (! stream_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -97,7 +97,7 @@
     stream_impl->stream_type = AXIS2_STREAM_MANAGED;
     stream_impl->stream.ops = (axis2_stream_ops_t *) AXIS2_MALLOC(
                 env->allocator, sizeof(axis2_stream_ops_t));
-    if (NULL == stream_impl->stream.ops)
+    if (! stream_impl->stream.ops)
     {
         apache2_stream_free(&(stream_impl->stream), env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_worker.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_worker.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/apache2_worker.c Mon Mar 19 03:31:58 2007
@@ -78,7 +78,7 @@
     apache2_worker_impl = (axis2_apache2_worker_impl_t *)
             AXIS2_MALLOC(env->allocator, sizeof(axis2_apache2_worker_impl_t));
 
-    if (NULL == apache2_worker_impl)
+    if (! apache2_worker_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -86,7 +86,7 @@
     apache2_worker_impl->apache2_worker.ops = NULL;
     apache2_worker_impl->conf_ctx = axis2_build_conf_ctx(env, repo_path);
 
-    if (NULL == apache2_worker_impl->conf_ctx)
+    if (! apache2_worker_impl->conf_ctx)
     {
         axis2_apache2_worker_free((axis2_apache2_worker_t *)apache2_worker_impl,
                 env);
@@ -94,7 +94,7 @@
     }
     apache2_worker_impl->apache2_worker.ops = AXIS2_MALLOC(env->allocator,
             sizeof(axis2_apache2_worker_ops_t));
-    if (NULL == apache2_worker_impl->apache2_worker.ops)
+    if (! apache2_worker_impl->apache2_worker.ops)
     {
         axis2_apache2_worker_free((axis2_apache2_worker_t *)apache2_worker_impl,
                 env);
@@ -166,7 +166,7 @@
     /*url = axis2_url_create(env, "http",
             (axis2_char_t *)ap_get_server_name(request),
             ap_get_server_port(request), request->unparsed_uri);*/
-    if (NULL == conf_ctx)
+    if (! conf_ctx)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_CONFIGURATION_CONTEXT,
                 AXIS2_FAILURE);
@@ -185,7 +185,7 @@
         content_length = -1;
         request->chunked = 1;
     }
-    if (NULL == http_version)
+    if (! http_version)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_HTTP_VERSION,
                 AXIS2_FAILURE);
@@ -197,10 +197,10 @@
 
     encoding_header_value = (axis2_char_t*)request->content_encoding;
 
-    out_desc = AXIS2_CONF_GET_TRANSPORT_OUT( axis2_conf_ctx_get_conf
+    out_desc =  axis2_conf_get_transport_out( axis2_conf_ctx_get_conf
             (apache2_worker_impl->conf_ctx, env), env,
             AXIS2_TRANSPORT_ENUM_HTTP);
-    in_desc = AXIS2_CONF_GET_TRANSPORT_IN( axis2_conf_ctx_get_conf
+    in_desc =  axis2_conf_get_transport_in( axis2_conf_ctx_get_conf
             (apache2_worker_impl->conf_ctx, env), env,
             AXIS2_TRANSPORT_ENUM_HTTP);
 
@@ -228,7 +228,7 @@
             (axis2_char_t *)apr_table_get(request->headers_in,
             AXIS2_HTTP_HEADER_SOAP_ACTION));
     request_body = axis2_stream_create_apache2(env, request);
-    if (NULL == request_body)
+    if (! request_body)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error occured in"
                 " creating input stream.");
@@ -268,7 +268,7 @@
         {
             axis2_msg_ctx_t *fault_ctx = NULL;
             axis2_engine_t *engine = axis2_engine_create(env, conf_ctx);
-            if (NULL == engine)
+            if (! engine)
             {
                 send_status =  HTTP_INTERNAL_SERVER_ERROR;
             }

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/apache2/mod_axis2.c Mon Mar 19 03:31:58 2007
@@ -292,7 +292,7 @@
     }
     allocator = (axis2_allocator_t*) apr_palloc(pool,
                                                 sizeof(axis2_allocator_t));
-    if (NULL == allocator)
+    if (! allocator)
     {
         ap_log_error(APLOG_MARK, APLOG_EMERG, APR_ENOMEM, svr_rec,
                      "[Axis2] Error allocating mod_axis2 allocator");
@@ -305,7 +305,7 @@
     allocator->current_pool = (void*) pool;
     allocator->global_pool = (void*) pool;
 
-    if (NULL == allocator)
+    if (! allocator)
     {
         ap_log_error(APLOG_MARK, APLOG_EMERG, APR_EGENERAL, svr_rec,
                          "[Axis2] Error initializing mod_axis2 allocator");
@@ -315,21 +315,21 @@
     axis2_error_init();
     
     error = axis2_error_create(allocator);
-    if (NULL == error)
+    if (! error)
     {
         ap_log_error(APLOG_MARK, APLOG_EMERG, APR_EGENERAL, svr_rec,
                      "[Axis2] Error creating mod_axis2 error structure");
         exit(APEXIT_CHILDFATAL);
     }
     axis2_logger = axis2_log_create(allocator, NULL, conf->axis2_log_file);
-    if (NULL == axis2_logger)
+    if (! axis2_logger)
     {
         ap_log_error(APLOG_MARK, APLOG_EMERG, APR_EGENERAL, svr_rec,
                      "[Axis2] Error creating mod_axis2 log structure");
         exit(APEXIT_CHILDFATAL);
     }
     thread_pool = axis2_thread_pool_init(allocator);
-    if (NULL == thread_pool)
+    if (! thread_pool)
     {
         ap_log_error(APLOG_MARK, APLOG_EMERG, APR_EGENERAL, svr_rec,
                      "[Axis2] Error initializing mod_axis2 thread pool");
@@ -337,7 +337,7 @@
     }
     axis2_env = axis2_env_create_with_error_log_thread_pool(allocator, error,
             axis2_logger, thread_pool);
-    if (NULL == axis2_env)
+    if (! axis2_env)
     {
         ap_log_error(APLOG_MARK, APLOG_EMERG, APR_EGENERAL, svr_rec,
                      "[Axis2] Error creating mod_axis2 environment");
@@ -352,7 +352,7 @@
     }
     axis2_worker = axis2_apache2_worker_create(axis2_env,
             conf->axis2_repo_path);
-    if (NULL == axis2_worker)
+    if (! axis2_worker)
     {
         ap_log_error(APLOG_MARK, APLOG_EMERG, APR_EGENERAL, svr_rec,
                      "[Axis2] Error creating mod_axis2 apache2 worker");

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/simple_axis2_server/http_server_main.c Mon Mar 19 03:31:58 2007
@@ -141,7 +141,7 @@
 
     allocator = axis2_allocator_init(NULL);
 
-    if (NULL == allocator)
+    if (! allocator)
     {
         printf("[Axis2]Startup FAILED due to memory allocation failure\n");
         system_exit(NULL, -1);
@@ -164,7 +164,7 @@
     AXIS2_LOG_INFO(env->log, "Read Timeout : %d ms", axis2_http_socket_read_timeout);
 
     server = axis2_http_server_create(env, repo_path, port);
-    if (NULL == server)
+    if (! server)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Server creation failed: Error code:"
                 " %d :: %s", env->error->error_number,

Modified: webservices/axis2/trunk/c/modules/core/transport/http/util/http_chunked_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/util/http_chunked_stream.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/util/http_chunked_stream.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/util/http_chunked_stream.c Mon Mar 19 03:31:58 2007
@@ -48,7 +48,7 @@
             (env->allocator, sizeof(
                         axis2_http_chunked_stream_t));
 
-    if (NULL == chunked_stream)
+    if (! chunked_stream)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -85,11 +85,11 @@
     axis2_stream_t *stream = chunked_stream->stream;
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
-    if (NULL == buffer)
+    if (! buffer)
     {
         return -1;
     }
-    if (NULL == stream)
+    if (! stream)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_STREAM_IN_CHUNKED_STREAM
                 , AXIS2_FAILURE);
@@ -142,11 +142,11 @@
     axis2_char_t tmp_buf[10];
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
 
-    if (NULL == buffer)
+    if (! buffer)
     {
         return -1;
     }
-    if (NULL == stream)
+    if (! stream)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_STREAM_IN_CHUNKED_STREAM
                 , AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/util/http_transport_utils.c Mon Mar 19 03:31:58 2007
@@ -234,7 +234,7 @@
             {
                 callback_ctx->chunked_stream = axis2_http_chunked_stream_create(
                             env, in_stream);
-                if (NULL == callback_ctx->chunked_stream)
+                if (! callback_ctx->chunked_stream)
                 {
                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error occured in"
                             " creating in chunked stream.");
@@ -316,7 +316,7 @@
             axis2_http_transport_utils_on_data_request, NULL,
             (void *) callback_ctx, axis2_string_get_buffer(char_set_str, env));
 
-    if (NULL == xml_reader)
+    if (! xml_reader)
     {
         return AXIS2_FAILURE;
     }
@@ -324,7 +324,7 @@
     axis2_msg_ctx_set_charset_encoding(msg_ctx, env, char_set_str);
 
     om_builder = axiom_stax_builder_create(env, xml_reader);
-    if (NULL == om_builder)
+    if (! om_builder)
     {
         AXIOM_XML_READER_FREE(xml_reader, env);
         xml_reader = NULL;
@@ -336,7 +336,7 @@
         is_soap11 = AXIS2_FALSE;
         soap_builder = axiom_soap_builder_create(env, om_builder,
                 AXIOM_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI);
-        if (NULL == soap_builder)
+        if (! soap_builder)
         {
             /* We should not be freeing om_builder here as it is done by
                axiom_soap_builder_create in case of error - Samisa*/
@@ -348,7 +348,7 @@
 
         soap_envelope = AXIOM_SOAP_BUILDER_GET_SOAP_ENVELOPE(soap_builder,
                 env);
-        if (NULL == soap_envelope)
+        if (! soap_envelope)
         {
             axiom_stax_builder_free(om_builder, env);
             om_builder = NULL;
@@ -365,7 +365,7 @@
         {
             soap_builder = axiom_soap_builder_create(env, om_builder,
                     AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI);
-            if (NULL == soap_builder)
+            if (! soap_builder)
             {
                 /* We should not be freeing om_builder here as it is done by
                    axiom_soap_builder_create in case of error - Samisa*/
@@ -376,7 +376,7 @@
             }
             soap_envelope = AXIOM_SOAP_BUILDER_GET_SOAP_ENVELOPE(
                         soap_builder, env);
-            if (NULL == soap_envelope)
+            if (! soap_envelope)
             {
                 AXIOM_SOAP_BUILDER_FREE(soap_builder, env);
                 om_builder = NULL;
@@ -459,7 +459,7 @@
     soap_body = AXIOM_SOAP_ENVELOPE_GET_BODY(soap_envelope,
             env);
 
-    if (NULL == soap_body)
+    if (! soap_body)
         return AXIS2_FAILURE;
 
     if (AXIS2_TRUE == AXIOM_SOAP_BODY_HAS_FAULT(soap_body, env))
@@ -470,7 +470,7 @@
     {
         status = AXIS2_ENGINE_RECEIVE(engine, env, msg_ctx);
     }
-    if (NULL ==  axis2_msg_ctx_get_soap_envelope(msg_ctx, env) &&
+    if (!  axis2_msg_ctx_get_soap_envelope(msg_ctx, env) &&
             AXIS2_FALSE == is_soap11)
     {
         axiom_soap_envelope_t *def_envelope =
@@ -546,7 +546,7 @@
     }*/
     soap_envelope = axis2_http_transport_utils_handle_media_type_url_encoded(
                 env, msg_ctx, request_params, AXIS2_HTTP_HEADER_GET);
-    if (NULL == soap_envelope)
+    if (! soap_envelope)
     {
         return AXIS2_FALSE;
     }
@@ -655,7 +655,7 @@
 
     AXIS2_PARAM_CHECK(env->error, request_uri, AXIS2_FAILURE);
 
-    if (NULL == tmp || '\0' == *(tmp + 1))
+    if (! tmp || '\0' == *(tmp + 1))
     {
         return NULL;
     }
@@ -679,7 +679,7 @@
         }
         if (tmp_name && NULL != tmp_value)
         {
-            if (NULL == ret)
+            if (! ret)
             {
                 ret = axis2_hash_make(env);
             }
@@ -690,7 +690,7 @@
     }
     if (tmp_name && '\0' != *tmp2)
     {
-        if (NULL == ret)
+        if (! ret)
         {
             ret = axis2_hash_make(env);
         }
@@ -766,9 +766,9 @@
     AXIS2_ENV_CHECK(env, NULL);
     AXIS2_PARAM_CHECK(env->error, conf_ctx, NULL);
 
-    services_map = AXIS2_CONF_GET_ALL_SVCS( axis2_conf_ctx_get_conf(conf_ctx, env),
+    services_map =  axis2_conf_get_all_svcs( axis2_conf_ctx_get_conf(conf_ctx, env),
             env);
-    errorneous_svc_map = AXIS2_CONF_GET_ALL_FAULTY_SVCS( axis2_conf_ctx_get_conf(
+    errorneous_svc_map =  axis2_conf_get_all_faulty_svcs( axis2_conf_ctx_get_conf(
                 conf_ctx, env), env);
     if (services_map && 0 != axis2_hash_count(services_map))
     {
@@ -959,7 +959,7 @@
     int len = -1;
     axis2_callback_info_t *cb_ctx = (axis2_callback_info_t *)ctx;
 
-    if (NULL == buffer || NULL == ctx)
+    if (! buffer || ! ctx)
     {
         return 0;
     }
@@ -1044,7 +1044,7 @@
     callback_ctx = AXIS2_MALLOC(env->allocator, sizeof(axis2_callback_info_t));
     /* Note: the memory created above is freed in xml reader free function
        as this is passed on to the reader */
-    if (NULL == callback_ctx)
+    if (! callback_ctx)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -1067,7 +1067,7 @@
         callback_ctx->content_length = *content_length;
         callback_ctx->unread_len = *content_length;
     }
-    if (NULL == in_stream)
+    if (! in_stream)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NULL_IN_STREAM_IN_MSG_CTX,
                 AXIS2_FAILURE);
@@ -1082,7 +1082,7 @@
     {
         callback_ctx->chunked_stream = axis2_http_chunked_stream_create(env,
                 in_stream);
-        if (NULL == callback_ctx->chunked_stream)
+        if (! callback_ctx->chunked_stream)
         {
             return NULL;
         }
@@ -1112,7 +1112,7 @@
 
         }
     }
-    if (NULL == char_set_enc)
+    if (! char_set_enc)
     {
         char_set_enc = AXIS2_DEFAULT_CHAR_SET_ENCODING;
     }
@@ -1168,12 +1168,12 @@
         xml_reader = axiom_xml_reader_create_for_io(env,
                 axis2_http_transport_utils_on_data_request, NULL,
                 (void *)callback_ctx, char_set_enc);
-        if (NULL == xml_reader)
+        if (! xml_reader)
         {
             return NULL;
         }
         om_builder = axiom_stax_builder_create(env, xml_reader);
-        if (NULL == om_builder)
+        if (! om_builder)
         {
             AXIOM_XML_READER_FREE(xml_reader, env);
             xml_reader = NULL;
@@ -1181,7 +1181,7 @@
         }
         soap_builder = axiom_soap_builder_create(env, om_builder,
                 soap_ns_uri);
-        if (NULL == soap_builder)
+        if (! soap_builder)
         {
             /* We should not be freeing om_builder here as it is done by
                axiom_soap_builder_create in case of error - Samisa*/
@@ -1225,12 +1225,12 @@
         xml_reader = axiom_xml_reader_create_for_io(env,
                 axis2_http_transport_utils_on_data_request, NULL,
                 (void *)callback_ctx, char_set_enc);
-        if (NULL == xml_reader)
+        if (! xml_reader)
         {
             return NULL;
         }
         om_builder = axiom_stax_builder_create(env, xml_reader);
-        if (NULL == om_builder)
+        if (! om_builder)
         {
             AXIOM_XML_READER_FREE(xml_reader, env);
             xml_reader = NULL;
@@ -1264,12 +1264,12 @@
     AXIS2_PARAM_CHECK(env->error, key, NULL);
 
     tmp_content_type = axis2_strdup(content_type, env);
-    if (NULL == tmp_content_type)
+    if (! tmp_content_type)
     {
         return NULL;
     }
     tmp = strstr(tmp_content_type, key);
-    if (NULL == tmp)
+    if (! tmp)
     {
         AXIS2_FREE(env->allocator, tmp_content_type);
         return NULL;
@@ -1282,7 +1282,7 @@
     {
         *tmp2 = '\0';
     }
-    if (NULL == tmp)
+    if (! tmp)
     {
         AXIS2_FREE(env->allocator, tmp_content_type);
         return NULL;
@@ -1318,13 +1318,13 @@
     soap_env = axiom_soap_envelope_create_default_soap_envelope(env,
             AXIOM_SOAP11);
     soap_body = AXIOM_SOAP_ENVELOPE_GET_BODY(soap_env, env);
-    if (NULL == soap_body)
+    if (! soap_body)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SOAP_ENVELOPE_OR_SOAP_BODY_NULL,
                 AXIS2_FAILURE);
         return NULL;
     }
-    if (NULL == schema_element)
+    if (! schema_element)
     {
         axiom_element_t *body_child = NULL;
         axiom_node_t *body_child_node = NULL;
@@ -1405,7 +1405,7 @@
                                 env);
                         param_val = axis2_hash_get(param_map, element_name,
                                 AXIS2_HASH_KEY_STRING);
-                        if (NULL == param_val)
+                        if (! param_val)
                         {
                             AXIS2_ERROR_SET(env->error,
                                     AXIS2_ERROR_REQD_PARAM_MISSING, AXIS2_FAILURE);
@@ -1449,7 +1449,7 @@
     soap_env = axiom_soap_envelope_create_default_soap_envelope(env,
             AXIOM_SOAP11);
     soap_body = AXIOM_SOAP_ENVELOPE_GET_BODY(soap_env, env);
-    if (NULL == soap_body)
+    if (! soap_body)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SOAP_ENVELOPE_OR_SOAP_BODY_NULL,
                 AXIS2_FAILURE);
@@ -1497,7 +1497,7 @@
     handler = axis2_disp_get_base(req_uri_disp, env);
     AXIS2_HANDLER_INVOKE(handler, env, msg_ctx);
 
-    if (NULL ==  axis2_msg_ctx_get_svc(msg_ctx, env) || NULL ==
+    if (!  axis2_msg_ctx_get_svc(msg_ctx, env) || !
              axis2_msg_ctx_get_op(msg_ctx, env))
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_OR_OP_NOT_FOUND,

Modified: webservices/axis2/trunk/c/modules/core/util/core_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/util/core_utils.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/core/util/core_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/util/core_utils.c Mon Mar 19 03:31:58 2007
@@ -302,7 +302,7 @@
         axis2_hash_this(hi, (const void **)&key_string, NULL, &val);
         if (key_string && NULL != val)
         {
-            AXIS2_CONF_ADD_DEFAULT_MODULE_VERSION(axis_conf, env,
+             axis2_conf_add_default_module_version(axis_conf, env,
                     (axis2_char_t *)key_string, (axis2_char_t *)val);
             AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "Added default module"
                     " version : %s for module : %s",

Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c (original)
+++ webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c Mon Mar 19 03:31:58 2007
@@ -447,7 +447,7 @@
                 {
                     dec_ns = axiom_element_find_declared_namespace(relates_to_header_ele, env,
                             addr_ns, AXIS2_WSA_DEFAULT_PREFIX);
-                    if (NULL == dec_ns)
+                    if (! dec_ns)
                     {
                         dec_ns = axiom_element_find_namespace(relates_to_header_ele, env,
                                 relates_to_header_node, addr_ns, AXIS2_WSA_DEFAULT_PREFIX);

Modified: webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/rsa.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/rsa.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/rsa.c (original)
+++ webservices/axis2/trunk/c/rampart/src/omxmlsec/openssl/rsa.c Mon Mar 19 03:31:58 2007
@@ -113,7 +113,7 @@
     rsa_impl = (openssl_rsa_impl_t *) AXIS2_MALLOC(env->allocator,
             sizeof(openssl_rsa_impl_t));
 
-    if (NULL == rsa_impl)
+    if (! rsa_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -122,7 +122,7 @@
     rsa_impl->rsa.ops = AXIS2_MALLOC(env->allocator,
             sizeof(openssl_rsa_ops_t));
 
-    if (NULL == rsa_impl->rsa.ops)
+    if (! rsa_impl->rsa.ops)
     {
         openssl_rsa_free(&(rsa_impl->rsa), env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);

Modified: webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c Mon Mar 19 03:31:58 2007
@@ -372,7 +372,7 @@
         return AXIS2_FALSE;
     }
     
-    engaged_modules = AXIS2_CONF_GET_ALL_ENGAGED_MODULES(conf, env);
+    engaged_modules =  axis2_conf_get_all_engaged_modules(conf, env);
     if(engaged_modules)
     {
         size = axis2_array_list_size(engaged_modules,env);

Modified: webservices/axis2/trunk/c/rampart/src/util/timestamp_token.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/timestamp_token.c?view=diff&rev=519895&r1=519894&r2=519895
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/timestamp_token.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/timestamp_token.c Mon Mar 19 03:31:58 2007
@@ -83,7 +83,7 @@
     timestamp_token_impl = (rampart_timestamp_token_impl_t *) AXIS2_MALLOC(env->allocator,
             sizeof(rampart_timestamp_token_impl_t));
 
-    if (NULL == timestamp_token_impl)
+    if (! timestamp_token_impl)
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
@@ -91,7 +91,7 @@
 
     timestamp_token_impl->timestamp_token.ops = AXIS2_MALLOC(env->allocator,
             sizeof(rampart_timestamp_token_ops_t));
-    if (NULL == timestamp_token_impl->timestamp_token.ops)
+    if (! timestamp_token_impl->timestamp_token.ops)
     {
         rampart_timestamp_token_free(&(timestamp_token_impl->timestamp_token), env);
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);



---------------------------------------------------------------------
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