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 2008/08/04 07:56:41 UTC
svn commit: r682263 -
/webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
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