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 ma...@apache.org on 2008/05/26 15:59:28 UTC

svn commit: r660192 - /webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c

Author: manjula
Date: Mon May 26 06:59:27 2008
New Revision: 660192

URL: http://svn.apache.org/viewvc?rev=660192&view=rev
Log:
Improving the code.

Modified:
    webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c

Modified: webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c?rev=660192&r1=660191&r2=660192&view=diff
==============================================================================
--- webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c Mon May 26 06:59:27 2008
@@ -483,7 +483,12 @@
         part_start = buf_num;
 
         malloc_len = 0;
-       
+
+        /*We need this count in order to handle cases where the recieving 
+        stream does not contain --*/
+
+        count++;       
+ 
         printf("before crlf method %d\n", len_array[buf_num]);
  
         pos = axiom_mime_parser_search_for_crlf(env, callback, callback_ctx, &buf_num,
@@ -1160,6 +1165,10 @@
     axis2_char_t *pos,
     axis2_char_t **buf_list)
 {
+    /*We will copy the set of buffers which contains the rrquired part.
+     This part can be the SOAP message , mime headers or the mime 
+     binary in the case of none cahced.*/
+
     axis2_char_t *part_str = NULL;
     int i = 0;
     int temp = 0;