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 na...@apache.org on 2006/04/04 07:09:51 UTC

svn commit: r391225 - /webservices/axis2/trunk/c/modules/xml/om/om_document.c

Author: nandika
Date: Mon Apr  3 22:09:50 2006
New Revision: 391225

URL: http://svn.apache.org/viewcvs?rev=391225&view=rev
Log:
error fixed 

Modified:
    webservices/axis2/trunk/c/modules/xml/om/om_document.c

Modified: webservices/axis2/trunk/c/modules/xml/om/om_document.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_document.c?rev=391225&r1=391224&r2=391225&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_document.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_document.c Mon Apr  3 22:09:50 2006
@@ -195,7 +195,7 @@
     if (!(document->root_element))
     {
         last_child = AXIS2_OM_STAX_BUILDER_NEXT (document->builder, env);
-        if(!last_child)
+        if(NULL != last_child)
         {
             document->last_child = last_child;
             document->root_element = last_child;