]> granicus.if.org Git - mutt/commitdiff
Fix logic error in b3cde588fe9a commit
authorRocco Rutte <pdmef@gmx.net>
Tue, 15 Jan 2008 16:46:46 +0000 (17:46 +0100)
committerRocco Rutte <pdmef@gmx.net>
Tue, 15 Jan 2008 16:46:46 +0000 (17:46 +0100)
ChangeLog
recvattach.c

index edfd6fc365c075f9594cd31febde2baddb7071a7..739cb191c1f536e1cc93c49716a909d201642561 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2008-01-15 17:34 +0100  Rocco Rutte  <pdmef@gmx.net>  (b3cde588fe9a)
+
+       * recvattach.c: Prepend './' to (some) suggested filenames when saving
+       attachments. Attachment filenames may start with characters that are
+       special to mutt_expand_path() may cause undesired expansion. Closes
+       #1719.
+
+2008-01-15 15:07 +0100  Rocco Rutte  <pdmef@gmx.net>  (02fd1874a894)
+
+       * ChangeLog, INSTALL, README: Update stale INSTALL+README files
+
 2008-01-15 12:34 +0100  Rocco Rutte  <pdmef@gmx.net>  (c06891454c6e)
 
        * mh.c: Make maildir_delayed_parsing() more readable
index 611643ab6988e756eccd8c161c0943bd6d7dcb7f..1a4628819703dce0c1dba5a6430e9de238b29844 100644 (file)
@@ -505,8 +505,8 @@ void mutt_save_attachment_list (FILE *fp, int tag, BODY *top, HEADER *hdr, MUTTM
        {
          int append = 0;
 
-         prepend_curdir (buf, sizeof (buf));
          strfcpy (buf, mutt_basename (NONULL (top->filename)), sizeof (buf));
+         prepend_curdir (buf, sizeof (buf));
 
          if (mutt_get_field (_("Save to file: "), buf, sizeof (buf),
                                    M_FILE | M_CLEAR) != 0 || !buf[0])