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 0f25a91eb844f84ad4426cbee16781c98aa4ffff..224e5c15525d5ce2d439c7808f5eeeb0bdd09dc5 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));
-       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) {