axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r381500 - /webservices/axis2/trunk/c/include/axis2_om_node.h
Date Mon, 27 Feb 2006 23:59:22 GMT
Author: samisa
Date: Mon Feb 27 15:59:20 2006
New Revision: 381500

URL: http://svn.apache.org/viewcvs?rev=381500&view=rev
Log:
Fixed a possible bug in add child macro

Modified:
    webservices/axis2/trunk/c/include/axis2_om_node.h

Modified: webservices/axis2/trunk/c/include/axis2_om_node.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_om_node.h?rev=381500&r1=381499&r2=381500&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_om_node.h (original)
+++ webservices/axis2/trunk/c/include/axis2_om_node.h Mon Feb 27 15:59:20 2006
@@ -386,8 +386,10 @@
 #define AXIS2_OM_NODE_FREE_TREE(om_node,env) ((om_node)->ops->free(om_node,env))
 /** adds given child to the given parent */
 
-#define AXIS2_OM_NODE_ADD_CHILD(om_node,env,parent) \
-        ((parent)->ops->add_child(om_node,env,parent))
+/*#define AXIS2_OM_NODE_ADD_CHILD(om_node,env,parent) \
+        ((parent)->ops->add_child(om_node,env,parent))*/
+#define AXIS2_OM_NODE_ADD_CHILD(om_node,env,child) \
+        ((om_node)->ops->add_child(om_node,env,child))
 /** detaches the given node from its parent */
 
 #define AXIS2_OM_NODE_DETACH(om_node,env) ((om_node)->ops->detach(om_node,env))



Mime
View raw message