projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
copy.c
diff --git
a/copy.c
b/copy.c
index
b168014
..
d9a6fb9
100644
(file)
--- a/
copy.c
+++ b/
copy.c
@@
-324,8
+324,9
@@
mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
{
char buffer[SHORT_STRING];
{
char buffer[SHORT_STRING];
- flags |= (h->irt_changed ? CH_UPDATE_IRT : 0)
- | (h->refs_changed ? CH_UPDATE_REFS : 0);
+ if (h->env)
+ flags |= (h->env->irt_changed ? CH_UPDATE_IRT : 0) |
+ (h->env->refs_changed ? CH_UPDATE_REFS : 0);
if (mutt_copy_hdr (in, out, h->offset, h->content->offset, flags, prefix) ==
-1)
if (mutt_copy_hdr (in, out, h->offset, h->content->offset, flags, prefix) ==
-1)
@@
-350,8
+351,8
@@
mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
if (flags & CH_UPDATE) {
if ((flags & CH_NOSTATUS) == 0) {
if (flags & CH_UPDATE) {
if ((flags & CH_NOSTATUS) == 0) {
- if (h->
irt_changed && h->new_
env->in_reply_to) {
- LIST *listp = h->
new_
env->in_reply_to;
+ if (h->
env->irt_changed && h->
env->in_reply_to) {
+ LIST *listp = h->env->in_reply_to;
if (fputs ("In-Reply-To: ", out) == EOF)
return (-1);
if (fputs ("In-Reply-To: ", out) == EOF)
return (-1);
@@
-364,8
+365,8
@@
mutt_copy_header (FILE * in, HEADER * h, FILE * out, int flags,
return (-1);
}
return (-1);
}
- if (h->
refs_changed && h->new_
env->references) {
- LIST *listp = h->
new_
env->references, *refs = NULL, *t;
+ if (h->
env->refs_changed && h->
env->references) {
+ LIST *listp = h->env->references, *refs = NULL, *t;
if (fputs ("References: ", out) == EOF)
return (-1);
if (fputs ("References: ", out) == EOF)
return (-1);