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/12/02 11:45:21 UTC

svn commit: r722418 - /webservices/axis2/trunk/c/axiom/src/attachments/mime_part.c

Author: manjula
Date: Tue Dec  2 02:45:20 2008
New Revision: 722418

URL: http://svn.apache.org/viewvc?rev=722418&view=rev
Log:
Fixes for Axis2C-1302.

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

Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_part.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_part.c?rev=722418&r1=722417&r2=722418&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_part.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_part.c Tue Dec  2 02:45:20 2008
@@ -42,9 +42,10 @@
     axutil_array_list_t *list,
     axis2_char_t *boundary);
 
-/* This method will creates a mime_part 
+/* This method will create a mime_part 
  * A mime part will encapsulate a buffer 
- * or a file which needs to be send */
+ * a file or a callback to load the attachment 
+   which needs to be send */
 
 AXIS2_EXTERN axiom_mime_part_t *AXIS2_CALL 
 axiom_mime_part_create(
@@ -59,7 +60,8 @@
         mime_part->file_name = NULL;
         mime_part->part_size = 0;
         mime_part->type = AXIOM_MIME_PART_UNKNOWN;
-        
+        mime_part->user_param = NULL; 
+       
         return mime_part;
     }    
     else