You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/02/28 00:59:22 UTC

svn commit: r381500 - /webservices/axis2/trunk/c/include/axis2_om_node.h

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