From 844ccbc0e22f5a4829c875e3cc0daa898d22a54f Mon Sep 17 00:00:00 2001 From: Antonio Radici Date: Wed, 27 May 2009 23:46:48 +0100 Subject: [PATCH] display bcc for postponed message if there is no To (Closes: 350957) --- debian/changelog | 2 ++ debian/patches/series | 1 + .../upstream/350957-postponed-to-bcc.patch | 15 +++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 debian/patches/upstream/350957-postponed-to-bcc.patch diff --git a/debian/changelog b/debian/changelog index 21536b9..8ac83c2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,6 +22,8 @@ mutt (1.5.19-4) unstable; urgency=low + fixes some typos in the manpage (Closes: 428017) * patches/upstream/524420-segfault-reconnect-sasl.patch + sasl, mutt segfaults on reconnect to IMAPS server (Closes: 524420) + * patches/upstream/350957-postponed-to-bcc.patch + + display bcc for postponed message if there is no To (Closes: 350957) -- Antonio Radici Tue, 26 May 2009 23:42:51 +0100 diff --git a/debian/patches/series b/debian/patches/series index 555f2ac..c758e72 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -34,6 +34,7 @@ upstream/375530-index-weirdness.patch upstream/493719-segfault-imap-close.patch upstream/514960-certificate-insecure-algorithm.patch upstream/524420-segfault-reconnect-sasl.patch +upstream/350957-postponed-to-bcc.patch misc/hyphen-as-minus.patch misc/manpage-typos.patch diff --git a/debian/patches/upstream/350957-postponed-to-bcc.patch b/debian/patches/upstream/350957-postponed-to-bcc.patch new file mode 100644 index 0000000..8cf8be6 --- /dev/null +++ b/debian/patches/upstream/350957-postponed-to-bcc.patch @@ -0,0 +1,15 @@ +For %F, display Bcc recipient if no other recipients found. +Closes http://bugs.mutt.org/3157 +See also http://bugs.debian.org/350957 + +--- a/hdrline.c ++++ b/hdrline.c +@@ -121,6 +121,8 @@ + snprintf (buf, len, "To %s", mutt_get_name (hdr->to)); + else if (me && hdr->cc) + snprintf (buf, len, "Cc %s", mutt_get_name (hdr->cc)); ++ else if (me && hdr->bcc) ++ snprintf (buf, len, "Bcc %s", mutt_get_name (hdr->bcc)); + else if (hdr->from) + strfcpy (buf, mutt_get_name (hdr->from), len); + else -- 2.43.0