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 2006/09/27 13:30:05 UTC

svn commit: r450398 - /webservices/axis2/trunk/c/tools/tcpmon/src/util.c

Author: nandika
Date: Wed Sep 27 04:30:02 2006
New Revision: 450398

URL: http://svn.apache.org/viewvc?view=rev&rev=450398
Log:
fixing xml indenting

Modified:
    webservices/axis2/trunk/c/tools/tcpmon/src/util.c

Modified: webservices/axis2/trunk/c/tools/tcpmon/src/util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/tcpmon/src/util.c?view=diff&rev=450398&r1=450397&r2=450398
==============================================================================
--- webservices/axis2/trunk/c/tools/tcpmon/src/util.c (original)
+++ webservices/axis2/trunk/c/tools/tcpmon/src/util.c Wed Sep 27 04:30:02 2006
@@ -171,7 +171,11 @@
             }
         }
     }
-    add_axis2_char_t(env, allocator, '\0', 1);
+    if ( !xml_part_found)
+    {
+        return AXIS2_STRDUP( data, env);
+    }
+    add_axis2_char_t (env, allocator, '\0', 1);
     /**(allocator-> buffer + allocator-> index) = '\0';*/
     return allocator-> buffer;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org