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 na...@apache.org on 2007/02/05 06:42:09 UTC
svn commit: r503555 - in /webservices/axis2/trunk/c/rampart:
include/oxs_error.h src/handlers/rampart_in_handler.c
Author: nandika
Date: Sun Feb 4 21:42:08 2007
New Revision: 503555
URL: http://svn.apache.org/viewvc?view=rev&rev=503555
Log:
compile error fixed in rampart_in_handler.c , __FUNCTION__ macro is not defined for vc6, so added a if defined in oxs_error.h
Modified:
webservices/axis2/trunk/c/rampart/include/oxs_error.h
webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c
Modified: webservices/axis2/trunk/c/rampart/include/oxs_error.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_error.h?view=diff&rev=503555&r1=503554&r2=503555
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_error.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_error.h Sun Feb 4 21:42:08 2007
@@ -32,6 +32,10 @@
{
#endif
+#if defined( WIN32 ) && (_MSC_VER < 1300)
+#define __FUNCTION__ NULL
+#endif
+
/*Macros for locating thr error*/
#define FUNCTION_NAME __FUNCTION__
#define LINE_NUMBER __LINE__
Modified: webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c?view=diff&rev=503555&r1=503554&r2=503555
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c (original)
+++ webservices/axis2/trunk/c/rampart/src/handlers/rampart_in_handler.c Sun Feb 4 21:42:08 2007
@@ -48,9 +48,9 @@
rampart_in_handler_create(const axis2_env_t *env,
axis2_string_t *name)
{
+ axis2_handler_t *handler = NULL;
AXIS2_LOG_INFO(env->log,
"[rampart][rampart_in_handler] Created");
- axis2_handler_t *handler = NULL;
AXIS2_ENV_CHECK(env, NULL);
handler = axis2_handler_create(env);
if (!handler)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org