fix Resent-Date value
authorPaul <paul@claws-mail.org>
Sun, 21 May 2017 18:12:51 +0000 (19:12 +0100)
committerPaul <paul@claws-mail.org>
Sun, 21 May 2017 18:12:51 +0000 (19:12 +0100)
src/compose.c

index 0f25a91..224e5c1 100644 (file)
@@ -5461,7 +5461,7 @@ static gint compose_redirect_write_headers(Compose *compose, FILE *fp)
                get_rfc822_date_hide_tz(date, sizeof(date));
        else
                get_rfc822_date(date, sizeof(date));
                get_rfc822_date_hide_tz(date, sizeof(date));
        else
                get_rfc822_date(date, sizeof(date));
-       err |= (fprintf(fp, "Resent-Date: %s\n", buf) < 0);
+       err |= (fprintf(fp, "Resent-Date: %s\n", date) < 0);
 
        /* Resent-From */
        if (compose->account->name && *compose->account->name) {
 
        /* Resent-From */
        if (compose->account->name && *compose->account->name) {