From: Antoine Reilles Date: Tue, 20 Mar 2007 16:45:04 +0000 (-0700) Subject: Remove trailing slash from $folder in mutt_expand_path. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9191b898508dd45a0677d1a25a6f937ea5d9bc7;p=mutt Remove trailing slash from $folder in mutt_expand_path. --- diff --git a/ChangeLog b/ChangeLog index c0bb8a91..9c9eb470 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,29 @@ +2007-03-20 08:20 -0700 Rocco Rutte (3122a4a338b1) + + * rfc3676.c: Make f=f handler behave like old f=f handler for quoted + lines Now lines containing quote characters but no further content + appear as quoted lines again for making replies. Also, the spaces + between quotes and text are removed to make output look as it did + for the old handler. + +2007-03-19 08:12 -0700 Rocco Rutte (5681216fa395) + + * doc/manual.xml.head: Manual: f=f messages are text/plain, not "plain + ASCII" + +2007-03-16 11:21 -0700 Michael Elkins (aa96e6137c69) + + * imap/imap.c: Fixed segfault when attempting to open an imaps mailbox + when mutt is not configured with SSL support. + +2007-03-16 09:39 -0700 Brendan Cully (08f9bb4b7810) + + * configure.ac, configure.in: Move configure.in to configure.ac + +2007-03-15 16:29 -0700 Brendan Cully (4ade0c9660d5) + + * ChangeLog, Makefile.am: Add reldate.h to BUILT_SOURCES + 2007-03-15 16:10 +0100 Christoph Berg (ed804d94676a) * Makefile.am: Remove reldate.h from EXTRADIST to fix out-of-tree diff --git a/muttlib.c b/muttlib.c index 32495f3e..6ab496c4 100644 --- a/muttlib.c +++ b/muttlib.c @@ -397,6 +397,9 @@ char *_mutt_expand_path (char *s, size_t slen, int rx) strfcpy (p, NONULL (Maildir), sizeof (p)); else #endif + if (Maildir[strlen (Maildir) - 1] == '/') + strfcpy (p, NONULL (Maildir), sizeof (p)); + else snprintf (p, sizeof (p), "%s/", NONULL (Maildir)); tail = s + 1;