summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-08-15 19:59:09 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-08-15 19:59:09 +0000
commit3efc0579e8b263be4239b2130cda3978bf0b1132 (patch)
tree026ba896aec78f8f2779c3d73f93a1265f223261 /compose.c
parentd4c913f7f5de8675216d21975a49b61342600e26 (diff)
Make attach-message work with IMAP folders.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compose.c b/compose.c
index a372d6e2..0c88b993 100644
--- a/compose.c
+++ b/compose.c
@@ -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)
{