talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 9ac3e5f952f6d0a8de663c4df44af59f30a0e20f
parent 88b0ebeb76c3f7762cc6cd04edf02faee7f7d4d4
Author: Ricardo Mones <ricardo@mones.org>
Date:   Fri,  9 Jun 2017 08:58:07 +0200

Use correct variable in printf

A new buf_date was introduced, but the old pointer (buf) still used in
the printf(). Patch by Olivier Brunel.

Diffstat:
Msrc/messageview.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/messageview.c b/src/messageview.c @@ -966,7 +966,7 @@ static gint disposition_notification_send(MsgInfo *msginfo) /* Date */ get_rfc822_date(buf_date, sizeof(buf_date)); - if (fprintf(fp, "Date: %s\n", buf) < 0) + if (fprintf(fp, "Date: %s\n", buf_date) < 0) goto FILE_ERROR; /* From */