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 sa...@apache.org on 2005/12/19 11:05:29 UTC
svn commit: r357676 -
/webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_out_transport_info.c
Author: samisa
Date: Mon Dec 19 02:05:24 2005
New Revision: 357676
URL: http://svn.apache.org/viewcvs?rev=357676&view=rev
Log:
Fixed a bug in error_set
Modified:
webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_out_transport_info.c
Modified: webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_out_transport_info.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_out_transport_info.c?rev=357676&r1=357675&r2=357676&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_out_transport_info.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_out_transport_info.c Mon Dec 19 02:05:24 2005
@@ -69,7 +69,8 @@
if(NULL == info_impl)
{
- AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, NULL);
+ AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
}
info_impl->response = response;
info_impl->encoding = NULL;
@@ -80,7 +81,7 @@
{
axis2_http_out_transport_info_free((axis2_http_out_transport_info_t*)
info_impl, env);
- AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, NULL);
+ AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}