# HG changeset patch # User Mark Brand # Date 1283811521 -7200 # Node ID 958bb777b562668e277d99a175d822d09601e92c # Parent 654d1f6cb73c8b3c02f0841a4c00b55203c647c9 upgrade package vmime diff -r 654d1f6cb73c -r 958bb777b562 src/vmime-1-fastforward.patch --- 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 +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 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 + {