From 941550cbc215d608bd18439f99500b74fbb80f0d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Oct 2012 01:06:16 -0700 Subject: Tue Oct 2 01:06:06 PDT 2012 --- extra/mutt/pop-cachedir.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 extra/mutt/pop-cachedir.patch (limited to 'extra/mutt/pop-cachedir.patch') diff --git a/extra/mutt/pop-cachedir.patch b/extra/mutt/pop-cachedir.patch new file mode 100644 index 000000000..ec1bc198a --- /dev/null +++ b/extra/mutt/pop-cachedir.patch @@ -0,0 +1,12 @@ +Index: muttlib.c +=================================================================== +--- muttlib.c (revision 6128:eff500f87889) ++++ muttlib.c (revision 6161:1a4c43138685) +@@ -1961,5 +1961,6 @@ + char *p = safe_strdup (src); + int rc = mutt_convert_string (&p, Charset, "utf-8", 0); +- strfcpy (dest, rc == 0 ? p : src, dlen); ++ /* `src' may be NULL, such as when called from the pop3 driver. */ ++ strfcpy (dest, (rc == 0) ? NONULL(p) : NONULL(src), dlen); + FREE (&p); + } -- cgit v1.2.3-54-g00ecf