summaryrefslogtreecommitdiffstats
path: root/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/copy.c b/copy.c
index 9280c4b3..27732c5d 100644
--- a/copy.c
+++ b/copy.c
@@ -349,6 +349,8 @@ mutt_copy_header (FILE *in, HEADER *h, FILE *out, int flags, const char *prefix)
if ((flags & CH_NONEWLINE) == 0)
{
+ if (flags & CH_PREFIX)
+ fputs(prefix, out);
if (fputc ('\n', out) == EOF) /* add header terminator */
return (-1);
}