axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r450398 - /webservices/axis2/trunk/c/tools/tcpmon/src/util.c
Date Wed, 27 Sep 2006 11:30:05 GMT
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


Mime
View raw message