X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=copy.c;h=3ce0f2e7518f72afc621f5faec516846615ca3a7;hp=49e19d7f8c5fc67d7c108f49e58fd5ba67710c4d;hb=377cbd44d1e296a96a5d07c1f26386a4fff80cc9;hpb=f404a0ca916be07049af51a3022baaaaab94def6 diff --git a/copy.c b/copy.c index 49e19d7..3ce0f2e 100644 --- a/copy.c +++ b/copy.c @@ -379,15 +379,10 @@ mutt_copy_header (FILE *in, HEADER *h, FILE *out, int flags, const char *prefix) if (flags & CH_UPDATE) { if ((flags & CH_NOSTATUS) == 0) -#ifdef IMAP_EDIT_THREADS -#define NEW_ENV new_env -#else -#define NEW_ENV env -#endif { - if (h->irt_changed && h->NEW_ENV->in_reply_to) + if (h->irt_changed && h->new_env->in_reply_to) { - LIST *listp = h->NEW_ENV->in_reply_to; + LIST *listp = h->new_env->in_reply_to; if (fputs ("In-Reply-To: ", out) == EOF) return (-1); @@ -400,9 +395,9 @@ mutt_copy_header (FILE *in, HEADER *h, FILE *out, int flags, const char *prefix) return (-1); } - if (h->refs_changed && h->NEW_ENV->references) + if (h->refs_changed && h->new_env->references) { - LIST *listp = h->NEW_ENV->references, *refs = NULL, *t; + LIST *listp = h->new_env->references, *refs = NULL, *t; if (fputs ("References: ", out) == EOF) return (-1); @@ -427,7 +422,6 @@ mutt_copy_header (FILE *in, HEADER *h, FILE *out, int flags, const char *prefix) if (fputc ('\n', out) == EOF) return (-1); } -#undef NEW_ENV if (h->old || h->read) {