balsa r7918 - in trunk: . libbalsa



Author: pawels
Date: Fri Apr 25 20:32:34 2008
New Revision: 7918
URL: http://svn.gnome.org/viewvc/balsa?rev=7918&view=rev

Log:
* libbalsa/mailbox_imap.c: create header even for empty parts.


Modified:
   trunk/ChangeLog
   trunk/libbalsa/mailbox_imap.c

Modified: trunk/libbalsa/mailbox_imap.c
==============================================================================
--- trunk/libbalsa/mailbox_imap.c	(original)
+++ trunk/libbalsa/mailbox_imap.c	Fri Apr 25 20:32:34 2008
@@ -2369,7 +2369,7 @@
                         _("Cannot create temporary file"));
             return FALSE;
         }
-        if(ifbo == IMFB_NONE) {
+        if(ifbo == IMFB_NONE || dt.body->octets == 0) {
             fprintf(fp,"MIME-version: 1.0\r\ncontent-type: %s\r\n"
                     "Content-Transfer-Encoding: %s\r\n\r\n",
                     part->content_type ? part->content_type : "text/plain",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]