You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2005/11/07 05:49:06 UTC

svn commit: r331203 - in /webservices/axis2/trunk/c: include/axis2.h modules/core/description/src/svc.c

Author: damitha
Date: Sun Nov  6 20:49:00 2005
New Revision: 331203

URL: http://svn.apache.org/viewcvs?rev=331203&view=rev
Log:
fixed a bug in AXIS2_ERROR_SET

Modified:
    webservices/axis2/trunk/c/include/axis2.h
    webservices/axis2/trunk/c/modules/core/description/src/svc.c

Modified: webservices/axis2/trunk/c/include/axis2.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2.h?rev=331203&r1=331202&r2=331203&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2.h (original)
+++ webservices/axis2/trunk/c/include/axis2.h Sun Nov  6 20:49:00 2005
@@ -62,10 +62,10 @@
  * @return If function return a status code return AXIS2_SUCCESS. Else if
  *         function return a type pointer return NULL
  */    
-#define AXIS2_ERROR_SET(error_number, env, error_return) \
+#define AXIS2_ERROR_SET(error_number, error, error_return) \
     { \
-        AXIS2_ERROR_SET_ERROR_NUMBER((*env)->error, error_number); \
-        AXIS2_ERROR_SET_STATUS_CODE((*env)->error, AXIS2_FAILURE); \
+        AXIS2_ERROR_SET_ERROR_NUMBER(error, error_number); \
+        AXIS2_ERROR_SET_STATUS_CODE(error, AXIS2_FAILURE); \
         return error_return; \
     }      
 

Modified: webservices/axis2/trunk/c/modules/core/description/src/svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/svc.c?rev=331203&r1=331202&r2=331203&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/svc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/svc.c Sun Nov  6 20:49:00 2005
@@ -215,7 +215,7 @@
     
 	return (axis2_operation_t *) (axis2_hash_get 
 		(AXIS2_INTF_TO_IMPL(svc)->wasaction_opeartionmap
-		, axis2_strdup(temp_name), AXIS2_HASH_KEY_STRING));
+		, temp_name, AXIS2_HASH_KEY_STRING));
 }
 
 axis2_hash_t * AXIS2_CALL