changeset 1116:958bb777b562

upgrade package vmime
author Mark Brand <mabrand@mabrand.nl>
date Tue, 07 Sep 2010 00:18:41 +0200
parents 654d1f6cb73c
children 6a4d3383c783
files src/vmime-1-fastforward.patch
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/vmime-1-fastforward.patch	Sun Sep 05 20:56:45 2010 +0200
+++ b/src/vmime-1-fastforward.patch	Tue Sep 07 00:18:41 2010 +0200
@@ -17230,3 +17230,31 @@
  }
  
  
+
+commit b7ec3accd3fa1b6dc7d7724aab968f860fe1930b
+Author: vincent-richard <vincent-richard@5301114d-f842-0410-bbdd-996ee0417009>
+Date:   Mon Sep 6 20:20:45 2010 +0000
+
+    Fixed extraction of root part body.
+    
+    git-svn-id: https://vmime.svn.sourceforge.net/svnroot/vmime/trunk@563 5301114d-f842-0410-bbdd-996ee0417009
+
+diff --git a/src/net/imap/IMAPMessage.cpp b/src/net/imap/IMAPMessage.cpp
+index adfef01..bbdba69 100644
+--- a/src/net/imap/IMAPMessage.cpp
++++ b/src/net/imap/IMAPMessage.cpp
+@@ -273,9 +273,12 @@ void IMAPMessage::extract(ref <const part> p, utility::outputStream& os,
+ 	if (peek) command << ".PEEK";
+ 	command << "[";
+ 
+-	if (section.str().empty() && headerOnly)
++	if (section.str().empty())
+ 	{
+-		command << "HEADER";
++		if (headerOnly)
++			command << "HEADER";
++		else
++			command << "TEXT";
+ 	}
+ 	else
+ 	{