]> granicus.if.org Git - mutt/commitdiff
Fix a small problem with Liviu's attach_fcc patch.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 31 Aug 1998 16:46:29 +0000 (16:46 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 31 Aug 1998 16:46:29 +0000 (16:46 +0000)
send.c

diff --git a/send.c b/send.c
index 5109f7cfe7296e92f276bbf601f14bec0f0509e2..1ed96721f982e5840557ccd2bc323571ce37af5d 100644 (file)
--- a/send.c
+++ b/send.c
@@ -1218,7 +1218,7 @@ main_loop:
 
   /* save a copy of the message, if necessary. */
   mutt_expand_path (fcc, sizeof (fcc));
-  if (strcmp ("/dev/null", fcc) != 0)
+  if (*fcc && strcmp ("/dev/null", fcc) != 0)
   {
     BODY *tmpbody = msg->content;
 #ifdef _PGPPATH