diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-15 19:59:09 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-15 19:59:09 +0000 |
commit | 3efc0579e8b263be4239b2130cda3978bf0b1132 (patch) | |
tree | 026ba896aec78f8f2779c3d73f93a1265f223261 /compose.c | |
parent | d4c913f7f5de8675216d21975a49b61342600e26 (diff) |
Make attach-message work with IMAP folders.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -649,6 +649,9 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ break; mutt_expand_path (fname, sizeof (fname)); +#ifdef USE_IMAP + if (!mx_is_imap (fname)) +#endif /* check to make sure the file exists and is readable */ if (access (fname, R_OK) == -1) { |