axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r579254 - /webservices/axis2/trunk/c/src/core/description/policy_include.c
Date Tue, 25 Sep 2007 14:10:12 GMT
Author: manjula
Date: Tue Sep 25 07:10:11 2007
New Revision: 579254

URL: http://svn.apache.org/viewvc?rev=579254&view=rev
Log:
Fixing a bug.

Modified:
    webservices/axis2/trunk/c/src/core/description/policy_include.c

Modified: webservices/axis2/trunk/c/src/core/description/policy_include.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/policy_include.c?rev=579254&r1=579253&r2=579254&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/policy_include.c (original)
+++ webservices/axis2/trunk/c/src/core/description/policy_include.c Tue Sep 25 07:10:11 2007
@@ -352,7 +352,7 @@
     return AXIS2_SUCCESS;
 }
 
-static axis2_status_t
+static neethi_policy_t *
 axis2_policy_include_calculate_effective_policy(axis2_policy_include_t *policy_include,
     const axutil_env_t *env)
 {    
@@ -395,9 +395,10 @@
     {
         result = axis2_policy_include_get_policy(policy_include, env);
     }
-    
-    policy_include->effective_policy = result;
-    return AXIS2_SUCCESS;
+   
+    return result;
+    /*policy_include->effective_policy = result;
+    return AXIS2_SUCCESS;*/
 }
 
 AXIS2_EXTERN neethi_policy_t *AXIS2_CALL
@@ -412,8 +413,11 @@
 axis2_policy_include_get_effective_policy(axis2_policy_include_t *policy_include,
     const axutil_env_t *env)
 {
-    axis2_policy_include_calculate_effective_policy(policy_include, env);
-    return policy_include->effective_policy;
+    /*if (policy_include->effective_policy)
+        return policy_include->effective_policy;
+    */
+    return axis2_policy_include_calculate_effective_policy(policy_include, env);
+    /*return policy_include->effective_policy;*/
 }
 
 AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL



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