ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r682263 - /webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
Date Mon, 04 Aug 2008 05:56:41 GMT
Author: nandika
Date: Sun Aug  3 22:56:40 2008
New Revision: 682263

URL: http://svn.apache.org/viewvc?rev=682263&view=rev
Log:
mime parser updated to fix the interop issue

Modified:
    webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c

Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c?rev=682263&r1=682262&r2=682263&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c Sun Aug  3 22:56:40 2008
@@ -589,15 +589,12 @@
      * So we will check that here and if we found then the logic inside the 
      * while loop will not be executed */
 
-    if(len_array[buf_num] == 2)
-    {
-        end_of_mime = (AXIOM_MIME_BOUNDARY_BYTE == *(buf_array[buf_num])) &&
+   end_of_mime = (AXIOM_MIME_BOUNDARY_BYTE == *(buf_array[buf_num])) &&
                             (AXIOM_MIME_BOUNDARY_BYTE == *(buf_array[buf_num] + 1));
-        if(end_of_mime)
-        {
-            AXIS2_FREE(env->allocator, buf_array[buf_num]);
-            buf_array[buf_num] = NULL;
-        }
+    if(end_of_mime)
+    {
+        AXIS2_FREE(env->allocator, buf_array[buf_num]);
+        buf_array[buf_num] = NULL;
     }
 
     /*<SOAP></SOAP>--MIMEBOUNDARY



Mime
View raw message