axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r810879 - /webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c
Date Thu, 03 Sep 2009 10:42:36 GMT
Author: shankar
Date: Thu Sep  3 10:42:35 2009
New Revision: 810879

URL: http://svn.apache.org/viewvc?rev=810879&view=rev
Log:
fixing mtom missing trailing characters 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=810879&r1=810878&r2=810879&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_parser.c Thu Sep  3 10:42:35 2009
@@ -1486,8 +1486,7 @@
 
     /* Here we are out of the loop. If there is no error then this means 
      * the searching string is found */
-
-    if(search_info->cached)
+    if(search_info->cached && found)
     {
         /* If the attachment is cached then we need to cache the 
          * final buffer */



Mime
View raw message