[patch] rfc2047 encoding of MDN header



Apparently some libmutt update removed the rfc 2047 encoding of the MDN 
(Disposition-Notification-To) header. I attach a really small patch 
against balsa 2.0.5 which fixes this problem (and additionally switches to 
the "new" compare func).

Cheers, Albrecht.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress@arcor.de
_________________________________________________________________________
--- balsa-2.0.5-orig/libmutt/parse.c	Thu Jan  2 14:44:02 2003
+++ balsa-2.0.5/libmutt/parse.c	Fri Jan 10 13:37:29 2003
@@ -1054,7 +1054,7 @@
     }
 #ifdef LIBMUTT
     /* BALSA: we implement extra feature for balsa.*/
-    else if (!mutt_strcasecmp ("isposition-notification-to", line + 1))
+    else if (!ascii_strcasecmp ("isposition-notification-to", line + 1))
       {
         e->dispnotify_to = rfc822_parse_adrlist (e->dispnotify_to, p);
         matched = 1;
@@ -1359,6 +1359,10 @@
     rfc2047_decode_adrlist (e->to);
     rfc2047_decode_adrlist (e->cc);
     rfc2047_decode_adrlist (e->reply_to);
+#ifdef LIBMUTT 
+    /* BALSA: added dispnotify_to field */
+    rfc2047_decode_adrlist (e->dispnotify_to);
+#endif
     rfc2047_decode_adrlist (e->mail_followup_to);
     rfc2047_decode_adrlist (e->return_path);
     rfc2047_decode_adrlist (e->sender);


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